CacaoPayload.fromRequestPayload constructor
CacaoPayload.fromRequestPayload({
- required String issuer,
- required CacaoRequestPayload payload,
Implementation
factory CacaoPayload.fromRequestPayload({
required String issuer,
required CacaoRequestPayload payload,
}) {
return CacaoPayload(
iss: issuer,
domain: payload.domain,
aud: payload.aud,
version: payload.version,
nonce: payload.nonce,
iat: payload.iat,
nbf: payload.nbf,
exp: payload.exp,
statement: payload.statement,
requestId: payload.requestId,
resources: payload.resources,
);
}