PostgresqlProfile.fromJson constructor

PostgresqlProfile.fromJson(
  1. Map json_
)

Implementation

PostgresqlProfile.fromJson(core.Map json_)
    : this(
        database: json_['database'] as core.String?,
        hostname: json_['hostname'] as core.String?,
        password: json_['password'] as core.String?,
        port: json_['port'] as core.int?,
        sslConfig: json_.containsKey('sslConfig')
            ? PostgresqlSslConfig.fromJson(
                json_['sslConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        username: json_['username'] as core.String?,
      );