SchemaPackage.fromJson constructor

SchemaPackage.fromJson(
  1. Map json_
)

Implementation

SchemaPackage.fromJson(core.Map json_)
  : this(
      ignoreMinOccurs: json_['ignoreMinOccurs'] as core.bool?,
      schemas: (json_['schemas'] as core.List?)
          ?.map(
            (value) => Hl7SchemaConfig.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      schematizedParsingType: json_['schematizedParsingType'] as core.String?,
      types: (json_['types'] as core.List?)
          ?.map(
            (value) => Hl7TypesConfig.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      unexpectedSegmentHandling:
          json_['unexpectedSegmentHandling'] as core.String?,
    );