ApplyConsentsRequest.fromJson constructor

ApplyConsentsRequest.fromJson(
  1. Map json_
)

Implementation

ApplyConsentsRequest.fromJson(core.Map json_)
  : this(
      patientScope:
          json_.containsKey('patientScope')
              ? PatientScope.fromJson(
                json_['patientScope'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      timeRange:
          json_.containsKey('timeRange')
              ? TimeRange.fromJson(
                json_['timeRange'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      validateOnly: json_['validateOnly'] as core.bool?,
    );