CheckDataAccessRequest.fromJson constructor

CheckDataAccessRequest.fromJson(
  1. Map json_
)

Implementation

CheckDataAccessRequest.fromJson(core.Map json_)
    : this(
        consentList: json_.containsKey('consentList')
            ? ConsentList.fromJson(
                json_['consentList'] as core.Map<core.String, core.dynamic>)
            : null,
        dataId: json_.containsKey('dataId')
            ? json_['dataId'] as core.String
            : null,
        requestAttributes: json_.containsKey('requestAttributes')
            ? (json_['requestAttributes']
                    as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        responseView: json_.containsKey('responseView')
            ? json_['responseView'] as core.String
            : null,
      );