toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (errors != null) 'errors': errors!,
      if (expireTime != null) 'expireTime': expireTime!,
      if (heartbeatTime != null) 'heartbeatTime': heartbeatTime!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (signalsEndpoint != null) 'signalsEndpoint': signalsEndpoint!,
      if (source != null) 'source': source!,
      if (state != null) 'state': state!,
      if (ttl != null) 'ttl': ttl!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (version != null) 'version': version!,
    };