MetaType class

Constructors

MetaType({required String name, required MetaFromJson? fromJson, required String? importPath, required bool isNullable, required Element? element, required IterableType? iterableType, required bool isRecord, required bool isStream, required bool isFuture, required List<MetaType> typeArguments, required List<MetaRecordProp>? recordProps, required bool isVoid, required bool isPrimitive, required bool isDynamic, required bool isMap, required MetaToJson? toJson, required bool isEnum})
const
MetaType.fromType(DartType type)
factory

Properties

element → Element?
final
fromJson → MetaFromJson?
final
hasFromJson → bool
no setter
hasFromJsonConstructor → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasToJson → bool
no setter
importPath → String?
final
isDynamic → bool
final
isEnum → bool
final
isFuture → bool
final
isMap → bool
final
isNullable → bool
final
isPrimitive → bool
final
isRecord → bool
final
isStream → bool
final
isVoid → bool
final
iterableType → IterableType?
final
name → String
final
recordProps → List<MetaRecordProp>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJson → MetaToJson?
final
typeArguments → List<MetaType>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited