ConvertJsonSerializableMode class
ConvertJsonSerializableMode generates dart model files that need to build_runner to generate (filename.freezed.dart) file
Constructors
-
ConvertJsonSerializableMode(Map<
String, dynamic> json, {required String className, required ConvertJsonSerializableOptions options}) - constructor
Properties
- className ↔ String
-
className is first json file name
getter/setter pair
-
files
↔ List<
MapEntry< String, String> > -
files is finalized exported codes in string type
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
json
↔ Map<
String, dynamic> -
json is decoded json file
if decoded file type of variable is
List<dynamic>
first element of list select as decoded file!getter/setter pair - options ↔ ConvertJsonSerializableOptions
-
options is ConvertJsonSerializableMode methods checkboxes variables
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convert(
) → void - convert is a main method of ConvertJsonSerializableMode class
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited