fromJson static method
Returns a new AssetCreate instance and imports its values from
value if it's a Map, null otherwise.
Implementation
// ignore: prefer_constructors_over_static_methods
static AssetCreate fromJson(dynamic value) {
if (value is Map) {
final json = value.cast<String, dynamic>();
return AssetCreate(
name: mapValueOfType<String>(json, r'Name'),
state: AssetCreateStateEnum.fromJson(json[r'State']),
);
}
return null;
}