ExportContext.fromJson constructor
ExportContext.fromJson(
- Map _json
Implementation
ExportContext.fromJson(core.Map _json)
: this(
csvExportOptions: _json.containsKey('csvExportOptions')
? ExportContextCsvExportOptions.fromJson(_json['csvExportOptions']
as core.Map<core.String, core.dynamic>)
: null,
databases: _json.containsKey('databases')
? (_json['databases'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
fileType: _json.containsKey('fileType')
? _json['fileType'] as core.String
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
offload: _json.containsKey('offload')
? _json['offload'] as core.bool
: null,
sqlExportOptions: _json.containsKey('sqlExportOptions')
? ExportContextSqlExportOptions.fromJson(_json['sqlExportOptions']
as core.Map<core.String, core.dynamic>)
: null,
uri: _json.containsKey('uri') ? _json['uri'] as core.String : null,
);