toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customMetaData != null) 'customMetaData': customMetaData!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (locale != null) 'locale': locale!,
      if (name != null) 'name': name!,
      if (pages != null) 'pages': pages!,
      if (posts != null) 'posts': posts!,
      if (published != null) 'published': published!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (status != null) 'status': status!,
      if (updated != null) 'updated': updated!,
      if (url != null) 'url': url!,
    };