toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (checked != null) 'checked': checked!,
  if (childListItems != null) 'childListItems': childListItems!,
  if (text != null) 'text': text!,
};