GenerateDartModel.fromJson constructor
Constructs a new instance of GenerateDartModel,
from json
, which must be a valid JSON object. Throws if the conversion
fails.
Implementation
factory GenerateDartModel.fromJson(
Map<String, dynamic>? json,
) {
try {
return fromJsonOrNull(json)!;
} catch (e) {
assert(false, '$GenerateDartModel.fromJson: $e');
rethrow;
}
}