toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (discoveryLink != null) 'discoveryLink': discoveryLink!,
      if (discoveryRestUrl != null) 'discoveryRestUrl': discoveryRestUrl!,
      if (documentationLink != null) 'documentationLink': documentationLink!,
      if (icons != null) 'icons': icons!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (preferred != null) 'preferred': preferred!,
      if (title != null) 'title': title!,
      if (version != null) 'version': version!,
    };