PostgresqlSchema.fromJson constructor

PostgresqlSchema.fromJson(
  1. Map json_
)

Implementation

PostgresqlSchema.fromJson(core.Map json_)
  : this(
      postgresqlTables:
          (json_['postgresqlTables'] as core.List?)
              ?.map(
                (value) => PostgresqlTable.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      schema: json_['schema'] as core.String?,
    );