ImportContextCsvImportOptions.fromJson constructor

ImportContextCsvImportOptions.fromJson(
  1. Map _json
)

Implementation

ImportContextCsvImportOptions.fromJson(core.Map _json)
    : this(
        columns: _json.containsKey('columns')
            ? (_json['columns'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
        table:
            _json.containsKey('table') ? _json['table'] as core.String : null,
      );