toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (backendType != null) 'backendType': backendType!,
      if (databaseVersion != null) 'databaseVersion': databaseVersion!,
      if (ipAddresses != null)
        'ipAddresses': ipAddresses!.map((value) => value.toJson()).toList(),
      if (kind != null) 'kind': kind!,
      if (serverCaCert != null) 'serverCaCert': serverCaCert!.toJson(),
    };