toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (display != null) 'display': display!,
      if (height != null) 'height': height!,
      if (iconLink != null) 'iconLink': iconLink!,
      if (link != null) 'link': link!,
      if (preferences != null) 'preferences': preferences!,
      if (title != null) 'title': title!,
      if (type != null) 'type': type!,
      if (width != null) 'width': width!,
    };