GooglePrivacyDlpV2Connection.fromJson constructor

GooglePrivacyDlpV2Connection.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2Connection.fromJson(core.Map json_)
    : this(
        cloudSql: json_.containsKey('cloudSql')
            ? GooglePrivacyDlpV2CloudSqlProperties.fromJson(
                json_['cloudSql'] as core.Map<core.String, core.dynamic>)
            : null,
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => GooglePrivacyDlpV2Error.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );