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 (customerManagedEncryption != null)
        'customerManagedEncryption': customerManagedEncryption!,
      if (etag != null) 'etag': etag!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (replication != null) 'replication': replication!,
      if (rotation != null) 'rotation': rotation!,
      if (topics != null) 'topics': topics!,
      if (ttl != null) 'ttl': ttl!,
      if (versionAliases != null) 'versionAliases': versionAliases!,
      if (versionDestroyTtl != null) 'versionDestroyTtl': versionDestroyTtl!,
    };