WooWebhook class
Constructors
-
WooWebhook.new({int? id, required String? name, WooWebhookStatus? status = WooWebhookStatus.active, required String? topic, String? resource, String? event, List<
String> ? hooks, required String? deliveryUrl, String? secret, DateTime? dateCreated, DateTime? dateCreatedGmt, DateTime? dateModified, DateTime? dateModifiedGmt}) - WooWebhook.fake()
-
factory
-
WooWebhook.fromJson(Map<
String, dynamic> json) -
factory
Properties
- dateCreated → DateTime?
-
final
- dateCreatedGmt → DateTime?
-
final
- dateModified → DateTime?
-
final
- dateModifiedGmt → DateTime?
-
final
- deliveryUrl → String?
-
final
- event → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hooks
→ List<
String> ? -
final
- id → int?
-
final
- name → String?
-
final
- resource → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String?
-
final
- status → WooWebhookStatus?
-
final
- topic → String?
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited