Jwt constructor
- @JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)
const
Jwt(
{ - required String aud,
- required String sub,
- String? jti,
- Map<String, dynamic>? cnf,
- String? clientId,
- required String scope,
- String? iss,
- @dateTimeConverter required DateTime exp,
- @dateTimeConverter required DateTime iat,
})
Implementation
@JsonSerializable(includeIfNull: false, fieldRename: FieldRename.snake)
const factory Jwt({
required String aud,
required String sub,
String? jti,
Map<String, dynamic>? cnf,
String? clientId,
required String scope,
String? iss,
@dateTimeConverter required DateTime exp,
@dateTimeConverter required DateTime iat,
}) = _Jwt;