Hl7TypesConfig.fromJson constructor

Hl7TypesConfig.fromJson(
  1. Map json_
)

Implementation

Hl7TypesConfig.fromJson(core.Map json_)
    : this(
        type: json_.containsKey('type')
            ? (json_['type'] as core.List)
                .map((value) => Type.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        version: json_.containsKey('version')
            ? (json_['version'] as core.List)
                .map((value) => VersionSource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );