Connection.fromJson constructor

Connection.fromJson(
  1. Map json_
)

Implementation

Connection.fromJson(core.Map json_)
    : this(
        aws: json_.containsKey('aws')
            ? AwsProperties.fromJson(
                json_['aws'] as core.Map<core.String, core.dynamic>)
            : null,
        azure: json_.containsKey('azure')
            ? AzureProperties.fromJson(
                json_['azure'] as core.Map<core.String, core.dynamic>)
            : null,
        cloudResource: json_.containsKey('cloudResource')
            ? CloudResourceProperties.fromJson(
                json_['cloudResource'] as core.Map<core.String, core.dynamic>)
            : null,
        cloudSpanner: json_.containsKey('cloudSpanner')
            ? CloudSpannerProperties.fromJson(
                json_['cloudSpanner'] as core.Map<core.String, core.dynamic>)
            : null,
        cloudSql: json_.containsKey('cloudSql')
            ? CloudSqlProperties.fromJson(
                json_['cloudSql'] as core.Map<core.String, core.dynamic>)
            : null,
        configuration: json_.containsKey('configuration')
            ? ConnectorConfiguration.fromJson(
                json_['configuration'] as core.Map<core.String, core.dynamic>)
            : null,
        creationTime: json_.containsKey('creationTime')
            ? json_['creationTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        friendlyName: json_.containsKey('friendlyName')
            ? json_['friendlyName'] as core.String
            : null,
        hasCredential: json_.containsKey('hasCredential')
            ? json_['hasCredential'] as core.bool
            : null,
        kmsKeyName: json_.containsKey('kmsKeyName')
            ? json_['kmsKeyName'] as core.String
            : null,
        lastModifiedTime: json_.containsKey('lastModifiedTime')
            ? json_['lastModifiedTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        salesforceDataCloud: json_.containsKey('salesforceDataCloud')
            ? SalesforceDataCloudProperties.fromJson(
                json_['salesforceDataCloud']
                    as core.Map<core.String, core.dynamic>)
            : null,
        spark: json_.containsKey('spark')
            ? SparkProperties.fromJson(
                json_['spark'] as core.Map<core.String, core.dynamic>)
            : null,
      );