FhirStore.fromJson constructor
FhirStore.fromJson(
- Map json_
Implementation
FhirStore.fromJson(core.Map json_)
: this(
complexDataTypeReferenceParsing:
json_.containsKey('complexDataTypeReferenceParsing')
? json_['complexDataTypeReferenceParsing'] as core.String
: null,
defaultSearchHandlingStrict:
json_.containsKey('defaultSearchHandlingStrict')
? json_['defaultSearchHandlingStrict'] as core.bool
: null,
disableReferentialIntegrity:
json_.containsKey('disableReferentialIntegrity')
? json_['disableReferentialIntegrity'] as core.bool
: null,
disableResourceVersioning:
json_.containsKey('disableResourceVersioning')
? json_['disableResourceVersioning'] as core.bool
: null,
enableUpdateCreate: json_.containsKey('enableUpdateCreate')
? json_['enableUpdateCreate'] as core.bool
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
notificationConfig: json_.containsKey('notificationConfig')
? NotificationConfig.fromJson(json_['notificationConfig']
as core.Map<core.String, core.dynamic>)
: null,
notificationConfigs: json_.containsKey('notificationConfigs')
? (json_['notificationConfigs'] as core.List)
.map((value) => FhirNotificationConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
streamConfigs: json_.containsKey('streamConfigs')
? (json_['streamConfigs'] as core.List)
.map((value) => StreamConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
validationConfig: json_.containsKey('validationConfig')
? ValidationConfig.fromJson(json_['validationConfig']
as core.Map<core.String, core.dynamic>)
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);