CacaoRequestPayload.fromCacaoPayload constructor

CacaoRequestPayload.fromCacaoPayload(
  1. CacaoPayload payload
)

Implementation

factory CacaoRequestPayload.fromCacaoPayload(CacaoPayload payload) {
  return CacaoRequestPayload(
    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,
  );
}