DicomStore.fromJson constructor

DicomStore.fromJson(
  1. Map json_
)

Implementation

DicomStore.fromJson(core.Map json_)
    : this(
        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,
        streamConfigs: json_.containsKey('streamConfigs')
            ? (json_['streamConfigs'] as core.List)
                .map((value) =>
                    GoogleCloudHealthcareV1DicomStreamConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );