JwtPayload constructor

const JwtPayload({
  1. required String subject,
  2. required String username,
  3. required String name,
  4. required String issuer,
  5. required String audience,
  6. required DateTime notBefore,
  7. required DateTime expires,
  8. Map<String, dynamic> extra = const <String, dynamic>{},
})

Implementation

const JwtPayload({
  required this.subject,
  required this.username,
  required this.name,
  required this.issuer,
  required this.audience,
  required this.notBefore,
  required this.expires,
  this.extra = const <String, dynamic>{},
});