Webhook class
A webhook.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
-
Webhook({String? id, required String url, required List<
EventType> eventTypes, List<LinkDescription> ? links}) -
const
-
Webhook.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
eventTypes
→ List<
EventType> -
An array of events to which to subscribe your webhook. To subscribe to all
events, including events as they are added, specify the asterisk wild card.
To replace the event_types array, specify the asterisk wild card. To list
all supported events, list available events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
The ID of the webhook.
final
-
links
→ List<
LinkDescription> ? -
An array of request-related HATEOAS links.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
The Internet accessible URL configured to listen for incoming POST
notification messages containing event information.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited