Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
The
webhook-signature value for secrets, current key first.
-
sign({required String secret, required String id, required String timestamp, required String body})
→ String
-
One
v1,<base64> entry for secret.
-
verify({required String secret, required String body, Duration? tolerance = defaultTolerance, DateTime? now})
→ bool
-
Whether
headers carry a valid Standard Webhooks signature of body
under secret.