PostgresqlTable.fromJson constructor

PostgresqlTable.fromJson(
  1. Map json_
)

Implementation

PostgresqlTable.fromJson(core.Map json_)
    : this(
        postgresqlColumns: json_.containsKey('postgresqlColumns')
            ? (json_['postgresqlColumns'] as core.List)
                .map((value) => PostgresqlColumn.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        table:
            json_.containsKey('table') ? json_['table'] as core.String : null,
      );