CloudSqlCredential.fromJson constructor

CloudSqlCredential.fromJson(
  1. Map _json
)

Implementation

CloudSqlCredential.fromJson(core.Map _json)
    : this(
        password: _json.containsKey('password')
            ? _json['password'] as core.String
            : null,
        username: _json.containsKey('username')
            ? _json['username'] as core.String
            : null,
      );