CsvOptions.fromJson constructor

CsvOptions.fromJson(
  1. Map json_
)

Implementation

CsvOptions.fromJson(core.Map json_)
    : this(
        allowJaggedRows: json_.containsKey('allowJaggedRows')
            ? json_['allowJaggedRows'] as core.bool
            : null,
        allowQuotedNewlines: json_.containsKey('allowQuotedNewlines')
            ? json_['allowQuotedNewlines'] as core.bool
            : null,
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        fieldDelimiter: json_.containsKey('fieldDelimiter')
            ? json_['fieldDelimiter'] as core.String
            : null,
        nullMarker: json_.containsKey('nullMarker')
            ? json_['nullMarker'] as core.String
            : null,
        preserveAsciiControlCharacters:
            json_.containsKey('preserveAsciiControlCharacters')
                ? json_['preserveAsciiControlCharacters'] as core.bool
                : null,
        quote:
            json_.containsKey('quote') ? json_['quote'] as core.String : null,
        skipLeadingRows: json_.containsKey('skipLeadingRows')
            ? json_['skipLeadingRows'] as core.String
            : null,
      );