fromJson static method

DropDownValue fromJson(
  1. Map<String, dynamic> json
)

Implementation

static DropDownValue fromJson(Map<String, dynamic> json) {
  return DropDownValue(
    json['value'] as String,
    json['label'] as String,
  );
}