Enum.fromJson constructor
Enum.fromJson(
- Map json
Implementation
factory Enum.fromJson(Map json) {
return Enum(
name: json['name'],
values: (json['values'] as Iterable).cast(),
);
}
factory Enum.fromJson(Map json) {
return Enum(
name: json['name'],
values: (json['values'] as Iterable).cast(),
);
}