toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (availabilityType != null) 'availabilityType': availabilityType!,
      if (clientConnectionConfig != null)
        'clientConnectionConfig': clientConnectionConfig!,
      if (createTime != null) 'createTime': createTime!,
      if (databaseFlags != null) 'databaseFlags': databaseFlags!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (gceZone != null) 'gceZone': gceZone!,
      if (instanceType != null) 'instanceType': instanceType!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (labels != null) 'labels': labels!,
      if (machineConfig != null) 'machineConfig': machineConfig!,
      if (name != null) 'name': name!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (nodes != null) 'nodes': nodes!,
      if (pscInstanceConfig != null) 'pscInstanceConfig': pscInstanceConfig!,
      if (publicIpAddress != null) 'publicIpAddress': publicIpAddress!,
      if (queryInsightsConfig != null)
        'queryInsightsConfig': queryInsightsConfig!,
      if (readPoolConfig != null) 'readPoolConfig': readPoolConfig!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (state != null) 'state': state!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (writableNode != null) 'writableNode': writableNode!,
    };