MysqlDatabase.fromJson constructor

MysqlDatabase.fromJson(
  1. Map json_
)

Implementation

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