WebhookSubscriptionModel class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

WebhookSubscriptionModel.new({required String id, required String callbackUrl, required WebhookOperation eventType, required ExtApiV2DataType dataType, required DateTime expirationTime})
const
WebhookSubscriptionModel.fromJson(Map<String, dynamic> json)
factory

Properties

callbackUrl String
final
dataType ExtApiV2DataType
final
eventType WebhookOperation
final
expirationTime DateTime
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? id, String? callbackUrl, WebhookOperation? eventType, ExtApiV2DataType? dataType, DateTime? expirationTime}) WebhookSubscriptionModel

Available on WebhookSubscriptionModel, provided by the $WebhookSubscriptionModelExtension extension

copyWithWrapped({Wrapped<String>? id, Wrapped<String>? callbackUrl, Wrapped<WebhookOperation>? eventType, Wrapped<ExtApiV2DataType>? dataType, Wrapped<DateTime>? expirationTime}) WebhookSubscriptionModel

Available on WebhookSubscriptionModel, provided by the $WebhookSubscriptionModelExtension extension

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.
override

Constants

fromJsonFactory → const WebhookSubscriptionModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(WebhookSubscriptionModel instance)