v1WebhookSubscriptionParams.fromJson constructor

v1WebhookSubscriptionParams.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1WebhookSubscriptionParams.fromJson(Map<String, dynamic> json) {
  final _eventType = json['eventType'] as String;
  final _filtersJson = json['filtersJson'] as String?;
  final _isActive = json['isActive'] as bool?;
  return v1WebhookSubscriptionParams(
    eventType: _eventType,
    filtersJson: _filtersJson,
    isActive: _isActive,
  );
}