MysqlTable.fromJson constructor

MysqlTable.fromJson(
  1. Map json_
)

Implementation

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