QueryAccessibleDataRequest.fromJson constructor

QueryAccessibleDataRequest.fromJson(
  1. Map json_
)

Implementation

QueryAccessibleDataRequest.fromJson(core.Map json_)
  : this(
      gcsDestination:
          json_.containsKey('gcsDestination')
              ? GoogleCloudHealthcareV1ConsentGcsDestination.fromJson(
                json_['gcsDestination']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      requestAttributes: (json_['requestAttributes']
              as core.Map<core.String, core.dynamic>?)
          ?.map((key, value) => core.MapEntry(key, value as core.String)),
      resourceAttributes: (json_['resourceAttributes']
              as core.Map<core.String, core.dynamic>?)
          ?.map((key, value) => core.MapEntry(key, value as core.String)),
    );