fromJson static method
Returns a new Application instance and imports its values from
value if it's a Map, null otherwise.
Implementation
// ignore: prefer_constructors_over_static_methods
static Application fromJson(dynamic value) {
if (value is Map) {
final json = value.cast<String, dynamic>();
return Application(
applicationId: mapValueOfType<int>(json, r'ApplicationId'),
applicationIdentifier: mapValueOfType<String>(json, r'ApplicationIdentifier'),
name: mapValueOfType<String>(json, r'Name'),
version: mapValueOfType<String>(json, r'Version'),
developer: mapValueOfType<String>(json, r'Developer'),
modelName: mapValueOfType<String>(json, r'ModelName'),
model: Model.fromJson(json[r'Model']),
);
}
return null;
}