JsonModelRunner class

Constructors

JsonModelRunner({String? source, String? output, String? onlyFile})

Properties

distDir String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
onlyFile String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
srcDir String?
getter/setter pair

Methods

cleanup() → void
generateFileFromJson(dynamic outputPath, JsonModel jsonModel, dynamic name, String? keyList, String? fromToJsonKeyMap, String? fromJsonKeyMap) bool
generateModelsDirectory() bool
getAllJsonFiles() List<FileSystemEntity>?
isDuplicateNameAvailable(List<APIDetails> apiList) bool
iterateJsonFile(List<APIDetails> apiList) Future<bool>
loadAPIFile(String f) List<APIDetails>?
mapsEqual(Map m1, Map m2) bool
networkCall(APIDetails? apiDetails) Future<Map<String, dynamic>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run({dynamic command}) Future<bool>
setup() → void
toString() String
A string representation of this object.
inherited
warningIfImportNotExists(dynamic jsonModel, dynamic jsonFile) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited