toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bottomText != null) 'bottomText': bottomText!,
      if (selected != null) 'selected': selected!,
      if (startIconUri != null) 'startIconUri': startIconUri!,
      if (text != null) 'text': text!,
      if (value != null) 'value': value!,
    };