TypeDefVariant class
A Enum type (consisting of variants).
Constructors
-
TypeDefVariant.new({required List<
Variant> variants}) -
Create a new
TypeDefVariant
with the given variantsconst
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
typeDependencies(
) → Set< int> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- codec → const $TypeDefCodec