toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (clusterConfig != null) 'clusterConfig': clusterConfig!,
      if (defaultStorageType != null)
        'defaultStorageType': defaultStorageType!,
      if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
      if (location != null) 'location': location!,
      if (name != null) 'name': name!,
      if (serveNodes != null) 'serveNodes': serveNodes!,
      if (state != null) 'state': state!,
    };