toJson method

Map<String, dynamic> toJson()

Implementation

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