toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (baseConfig != null) 'baseConfig': baseConfig!,
      if (configType != null) 'configType': configType!,
      if (displayName != null) 'displayName': displayName!,
      if (etag != null) 'etag': etag!,
      if (freeInstanceAvailability != null)
        'freeInstanceAvailability': freeInstanceAvailability!,
      if (labels != null) 'labels': labels!,
      if (leaderOptions != null) 'leaderOptions': leaderOptions!,
      if (name != null) 'name': name!,
      if (optionalReplicas != null) 'optionalReplicas': optionalReplicas!,
      if (quorumType != null) 'quorumType': quorumType!,
      if (reconciling != null) 'reconciling': reconciling!,
      if (replicas != null) 'replicas': replicas!,
      if (state != null) 'state': state!,
      if (storageLimitPerProcessingUnit != null)
        'storageLimitPerProcessingUnit': storageLimitPerProcessingUnit!,
    };