fromJson method

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

Implementation

static SelectItemInfo fromJson(Map<String, dynamic> json) => SelectItemInfo(
      key: json['key'],
      synonyms: json['synonyms'] == null
          ? null
          : List.from(json['synonyms']).map((s) => s.toString()).toList(),
    );