toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (service != null) 'service': service!,
      if (type != null) 'type': type!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
    };