toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "label": label,
      "description": description,
      "type": type,
      "default": settingOptionDefault,
      "tip": tip,
      "value": value,
      "_links": links!.toJson(),
      "options": options == null
          ? null
          : Map.from(options!).map((k, v) => MapEntry<String, dynamic>(k, v)),
    };