toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (apiKey != null) 'apiKey': apiKey!,
      if (appId != null) 'appId': appId!,
      if (appInstallationId != null) 'appInstallationId': appInstallationId!,
      if (appSlug != null) 'appSlug': appSlug!,
      if (hostUri != null) 'hostUri': hostUri!,
      if (privateKeySecretVersion != null)
        'privateKeySecretVersion': privateKeySecretVersion!,
      if (serverVersion != null) 'serverVersion': serverVersion!,
      if (serviceDirectoryConfig != null)
        'serviceDirectoryConfig': serviceDirectoryConfig!,
      if (sslCa != null) 'sslCa': sslCa!,
      if (webhookSecretSecretVersion != null)
        'webhookSecretSecretVersion': webhookSecretSecretVersion!,
    };