toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => JsonObject.removeNullEntries({
      _JSON_TAG_ID: id,
      _JSON_TAG_NAME: name,
      _JSON_TAG_TITLE: title,
      _JSON_TAG_ICON_URL: iconUrl,
      _JSON_TAG_DEFAULT: defaultF,
      _JSON_TAG_SETTING_NOTE: settingNote,
      _JSON_TAG_SETTING_NAME: settingName,
      _JSON_TAG_DESCRIPTION: description,
      _JSON_TAG_DESCRIPTION_SHORT: descriptionShort,
      _JSON_TAG_MATCH: match,
      _JSON_TAG_STATUS: status,
      _JSON_TAG_PANEL_ID: panelId,
    });