$DiscoverySpecCsvOptions.fromJson constructor

$DiscoverySpecCsvOptions.fromJson(
  1. Map json_
)

Implementation

$DiscoverySpecCsvOptions.fromJson(core.Map json_)
    : this(
        delimiter: json_.containsKey('delimiter')
            ? json_['delimiter'] as core.String
            : null,
        disableTypeInference: json_.containsKey('disableTypeInference')
            ? json_['disableTypeInference'] as core.bool
            : null,
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        headerRows: json_.containsKey('headerRows')
            ? json_['headerRows'] as core.int
            : null,
      );