CloudSqlConnectionProfile.fromJson constructor

CloudSqlConnectionProfile.fromJson(
  1. Map json_
)

Implementation

CloudSqlConnectionProfile.fromJson(core.Map json_)
    : this(
        additionalPublicIp: json_.containsKey('additionalPublicIp')
            ? json_['additionalPublicIp'] as core.String
            : null,
        cloudSqlId: json_.containsKey('cloudSqlId')
            ? json_['cloudSqlId'] as core.String
            : null,
        privateIp: json_.containsKey('privateIp')
            ? json_['privateIp'] as core.String
            : null,
        publicIp: json_.containsKey('publicIp')
            ? json_['publicIp'] as core.String
            : null,
        settings: json_.containsKey('settings')
            ? CloudSqlSettings.fromJson(
                json_['settings'] as core.Map<core.String, core.dynamic>)
            : null,
      );