JsonConvert class
Constructors
Properties
- convertFuncMap ↔ JsonConvertClassCollection
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convert<
T> (dynamic value, {EnumConvertFunction? enumConvert}) → T? -
convertList<
T> (List? value, {EnumConvertFunction? enumConvert}) → List< T?> ? -
convertListNotNull<
T> (dynamic value, {EnumConvertFunction? enumConvert}) → List< T> ? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reassembleConvertFuncMap(
) → void - When you are in the development, to generate a new model class, hot-reload doesn't find new generation model class, you can build on MaterialApp method called jsonConvert. ReassembleConvertFuncMap (); This method only works in a development environment https://flutter.cn/docs/development/tools/hot-reload class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key);
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- onError ↔ ConvertExceptionHandler?
-
getter/setter pair
Static Methods
-
fromJsonAsT<
M> (dynamic json) → M?