ImportableType class

Constructors

ImportableType({required String name, String? import, bool isNullable = false, List<ImportableType> typeArguments = const [], Set<String>? otherImports, String? nameInRecord})
const
ImportableType.fromJson(Map<String, dynamic> json)
factory
ImportableType.record({required String name, String? import, bool isNullable = false, List<ImportableType> typeArguments = const [], String? nameInRecord, Set<String>? otherImports})
const

Properties

allImports Set<String?>
no setter
hashCode int
The hash code for this object.
no setteroverride
identity String
no setter
import String?
final
isNamedRecordField bool
whether the type is for a named record field
no setter
isNullable bool
final
isRecordType bool
no setter
name String
final
nameInRecord String?
the name of the field in the record
final
otherImports Set<String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeArguments List<ImportableType>
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override