toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (date != null) 'date': date!,
      if (integer != null) 'integer': integer!,
      if (selection != null) 'selection': selection!,
      if (selectionList != null) 'selectionList': selectionList!,
      if (text != null) 'text': text!,
      if (textList != null) 'textList': textList!,
      if (user != null) 'user': user!,
      if (userList != null) 'userList': userList!,
    };