ExportContextSqlExportOptions.fromJson constructor

ExportContextSqlExportOptions.fromJson(
  1. Map _json
)

Implementation

ExportContextSqlExportOptions.fromJson(core.Map _json)
    : this(
        mysqlExportOptions: _json.containsKey('mysqlExportOptions')
            ? ExportContextSqlExportOptionsMysqlExportOptions.fromJson(
                _json['mysqlExportOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        schemaOnly: _json.containsKey('schemaOnly')
            ? _json['schemaOnly'] as core.bool
            : null,
        tables: _json.containsKey('tables')
            ? (_json['tables'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );