toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'id'] = id;
  _json[r'name'] = name;
  _json[r'description'] = description;
  if (iconUrl != null) {
    _json[r'icon_url'] = iconUrl;
  }
  _json[r'callback_urls'] = callbackUrls;
  _json[r'homepage'] = homepage;
  if (isTrusted != null) {
    _json[r'is_trusted'] = isTrusted;
  }
  return _json;
}