VariantType class

Inheritance

Constructors

VariantType.new(VariantTypeContext ctx, List<ExprType> children)

Properties

children List<ExprType>
finalinherited
ctx VariantTypeContext
finalinherited
did String
no setteroverride
doc String
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
no setterinherited
idlType String
no setteroverride
isEnum bool
no setterinherited
isVariant bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializable bool
no setterinherited
type String
no setteroverride

Methods

dartType({bool nullable = false}) String
inherited
deserialize({required bool fromIDL, bool nullable = false}) String?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize({required bool fromIDL, bool nullable = false}) String?
override
toString() String
A string representation of this object.
inherited

Operators

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