DatamodelEnum.fromJson constructor
DatamodelEnum.fromJson(
- Map json
Implementation
factory DatamodelEnum.fromJson(Map json) {
return DatamodelEnum(
name: json['name'],
values: (json['values'] as Iterable).map((e) => EnumValue.fromJson(e)),
dbName: json['dbName'],
documentation: json['documentation'],
);
}