Webhook class
Webhook
Constructors
-
Webhook.new({required String $id, required String $createdAt, required String $updatedAt, required String name, required String url, required List<
String> events, required bool security, required String httpUser, required String httpPass, required String signatureKey, required bool enabled, required String logs, required int attempts}) -
Webhook.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
Webhook creation date in ISO 8601 format.
final
- $id → String
-
Webhook ID.
final
- $updatedAt → String
-
Webhook update date in ISO 8601 format.
final
- attempts → int
-
Number of consecutive failed webhook attempts.
final
- enabled → bool
-
Indicates if this webhook is enabled.
final
-
events
→ List<
String> -
Webhook trigger events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpPass → String
-
HTTP basic authentication password.
final
- httpUser → String
-
HTTP basic authentication username.
final
- logs → String
-
Webhook error logs from the most recent failure.
final
- name → String
-
Webhook name.
final
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- security → bool
-
Indicated if SSL / TLS Certificate verification is enabled.
final
- signatureKey → String
-
Signature key which can be used to validated incoming
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - url → String
-
Webhook URL endpoint.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited