ParserConfig.fromJson constructor

ParserConfig.fromJson(
  1. Map json_
)

Implementation

ParserConfig.fromJson(core.Map json_)
    : this(
        allowNullHeader: json_.containsKey('allowNullHeader')
            ? json_['allowNullHeader'] as core.bool
            : null,
        schema: json_.containsKey('schema')
            ? SchemaPackage.fromJson(
                json_['schema'] as core.Map<core.String, core.dynamic>)
            : null,
        segmentTerminator: json_.containsKey('segmentTerminator')
            ? json_['segmentTerminator'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );