RadarValueListItemCreateOptions.fromJson constructor
RadarValueListItemCreateOptions.fromJson(
- Object? json
Implementation
factory RadarValueListItemCreateOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return RadarValueListItemCreateOptions(
expand: map['expand'] == null
? null
: (map['expand'] as List<Object?>)
.map((el) => (el as String))
.toList(),
value: (map['value'] as String),
valueList: (map['value_list'] as String),
);
}