HostDatatype class

Represents the mapping of a Dart datatype to a Host datatype.

Constructors

HostDatatype({required String datatype, required bool isBuiltin, required bool isNullable, required bool isEnum})
Parametric constructor for HostDatatype.

Properties

datatype String
The String that can be printed into host code to represent the type.
final
hashCode int
The hash code for this object.
no setterinherited
isBuiltin bool
true if the host datatype is something builtin.
final
isEnum bool
`true if the type is a custom enum.
final
isNullable bool
true if the type corresponds to a nullable Dart datatype.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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