CheckDataAccessResponse.fromJson constructor

CheckDataAccessResponse.fromJson(
  1. Map json_
)

Implementation

CheckDataAccessResponse.fromJson(core.Map json_)
    : this(
        consentDetails: json_.containsKey('consentDetails')
            ? (json_['consentDetails'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  ConsentEvaluation.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        consented: json_.containsKey('consented')
            ? json_['consented'] as core.bool
            : null,
      );