fromJson static method

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

Implementation

static StaticDropdownSource fromJson(Map<String, dynamic> json) {
  return StaticDropdownSource(
    values: (json['values'] as List)
        .map((e) => DropDownValue.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}