BridgeEnumDef class
- Implemented types
- Annotations
-
- @JsonSerializable()
Constructors
-
BridgeEnumDef(BridgeTypeRef type, {List<
String> values = const [], Map<String, BridgeMethodDef> methods = const {}, Map<String, BridgeMethodDef> getters = const {}, Map<String, BridgeMethodDef> setters = const {}, Map<String, BridgeFieldDef> fields = const {}}) -
const
-
BridgeEnumDef.fromJson(Map<
String, dynamic> json) -
Connect the generated
_$BridgeClassDeclarationFromJson
function to thefromJson
factory.factory
Properties
-
fields
→ Map<
String, BridgeFieldDef> -
final
-
getters
→ Map<
String, BridgeMethodDef> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
methods
→ Map<
String, BridgeMethodDef> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
setters
→ Map<
String, BridgeMethodDef> -
final
- type → BridgeTypeRef
-
final
-
values
→ List<
String> -
final
Methods
-
copyWith(
{BridgeTypeRef? type}) → BridgeEnumDef -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Connect the generated
_$BridgeClassDeclarationToJson
function to thetoJson
method. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited