Payload class

TODO make a better version of protobuf.dart that just initialize everithing as 0 or '' as default and behaves like a dataclass a class that represent the industry standard for JWT

Available Extensions

Constructors

Payload({String? accessTokenHashValue, String? audience, String? authorizedParty, String? email, bool emailVerified = false, int? expirationTime, String? hostedDomain, String? nonce, String? issuer, int? issuedAt, String? subject})
a standard constant constructor
const
Payload.fromBuffer(Bytes buffer)
a factory constructor from binary data
factory

Properties

accessTokenHashValue String?
final
audience String?
final
authorizedParty String?
final
email String?
final
emailVerified bool
final
expirationTime int?
final
hashCode int
The hash code for this object.
no setteroverride
hostedDomain String?
final
issuedAt int?
final
issuer String?
final
nonce String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer() Bytes
converts the object to binary data
toJson() → Json
outputs a map compatible with jsonEncode
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override