SimulateEvent class
Simulate event request.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- SimulateEvent({String? webhookId, String? url, required String eventType, String? resourceVersion})
-
const
-
SimulateEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- eventType → String
-
The event name. Specify one of the subscribed events. For each request, provide only one event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- resourceVersion → String?
-
The identifier for event type ex: 1.0/2.0 etc.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
The URL for the webhook endpoint. If omitted, the webhook ID is required.
final
- webhookId → String?
-
The ID of the webhook. If omitted, the URL is required.
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