JwtHeader constructor

JwtHeader({
  1. JwtSupportedAlgorithm? alg = JwtSupportedAlgorithm.eddsa,
  2. String typ = 'JWT',
  3. String? kid,
  4. String? cty,
  5. Map<String, dynamic>? customClaims,
})

Implementation

JwtHeader({
  this.alg = JwtSupportedAlgorithm.eddsa,
  this.typ = 'JWT',
  this.kid,
  this.cty,
  Map<String, dynamic>? customClaims,
}) : customClaims = customClaims?.immutable;