ValidationConfig.fromJson constructor

ValidationConfig.fromJson(
  1. Map json_
)

Implementation

ValidationConfig.fromJson(core.Map json_)
    : this(
        disableFhirpathValidation:
            json_.containsKey('disableFhirpathValidation')
                ? json_['disableFhirpathValidation'] as core.bool
                : null,
        disableProfileValidation:
            json_.containsKey('disableProfileValidation')
                ? json_['disableProfileValidation'] as core.bool
                : null,
        disableReferenceTypeValidation:
            json_.containsKey('disableReferenceTypeValidation')
                ? json_['disableReferenceTypeValidation'] as core.bool
                : null,
        disableRequiredFieldValidation:
            json_.containsKey('disableRequiredFieldValidation')
                ? json_['disableRequiredFieldValidation'] as core.bool
                : null,
        enabledImplementationGuides:
            json_.containsKey('enabledImplementationGuides')
                ? (json_['enabledImplementationGuides'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
      );