EnumValue.fromJson constructor
EnumValue.fromJson(
- Map json_
Implementation
EnumValue.fromJson(core.Map json_)
: this(
name: json_.containsKey('name') ? json_['name'] as core.String : null,
number:
json_.containsKey('number') ? json_['number'] as core.int : null,
options: json_.containsKey('options')
? (json_['options'] as core.List)
.map((value) => Option.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);