FhirConfig.fromJson constructor

FhirConfig.fromJson(
  1. Map json_
)

Implementation

FhirConfig.fromJson(core.Map json_)
    : this(
        defaultKeepExtensions: json_.containsKey('defaultKeepExtensions')
            ? json_['defaultKeepExtensions'] as core.bool
            : null,
        fieldMetadataList: json_.containsKey('fieldMetadataList')
            ? (json_['fieldMetadataList'] as core.List)
                .map((value) => FieldMetadata.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );