EnumHelper class
- Inheritance
-
- Object
- TypeHelper<
TypeHelperContextWithConfig> - EnumHelper
Constructors
- EnumHelper()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deserialize(
DartType targetType, String expression, TypeHelperContextWithConfig context, bool defaultProvided) → String? -
Returns Dart code that deserializes an
expression
representing a JSON literal to intotargetType
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
DartType targetType, String expression, TypeHelperContextWithConfig context) → String? -
Returns Dart code that serializes an
expression
representing a Dart object of typetargetType
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited