decode static method
Implementation
static UISelectInputOption? decode(dynamic json) {
if (json == null) {
return null;
}
if (json is! Map<String, dynamic>) {
return null;
}
return UISelectInputOption(
value: StringDecoder.decode(json['value']),
label: StringDecoder.decode(json['label']),
);
}