Authorization constructor

Authorization({
  1. required AuthInfo authInfo,
  2. required Duration timeDelta,
  3. DateTime? timestampOverride,
  4. Nonce? nonceOverride,
})

Implementation

Authorization({
  required this.authInfo,
  required this.timeDelta,
  this.timestampOverride,
  this.nonceOverride,
}) {
  nonce = nonceOverride ?? Nonce();

  _timestamp = timestampOverride ?? DateTime.now();
}