toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (release != null) 'release': release!,
      if (retainedReleaseCount != null)
        'retainedReleaseCount': retainedReleaseCount!,
      if (ttl != null) 'ttl': ttl!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (url != null) 'url': url!,
    };