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((value) => value as core.String)
                .toList()
            : null,
      );