Hl7SchemaConfig.fromJson constructor

Hl7SchemaConfig.fromJson(
  1. Map json_
)

Implementation

Hl7SchemaConfig.fromJson(core.Map json_)
    : this(
        messageSchemaConfigs: json_.containsKey('messageSchemaConfigs')
            ? (json_['messageSchemaConfigs']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  SchemaGroup.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        version: json_.containsKey('version')
            ? (json_['version'] as core.List)
                .map((value) => VersionSource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );