Webhook.fromMap constructor
Implementation
factory Webhook.fromMap(Map<String, dynamic> map) {
return Webhook(
$id: map['\$id'],
$createdAt: map['\$createdAt'],
$updatedAt: map['\$updatedAt'],
name: map['name'],
url: map['url'],
events: List<String>.from(map['events']),
security: map['security'],
httpUser: map['httpUser'],
httpPass: map['httpPass'],
signatureKey: map['signatureKey'],
enabled: map['enabled'],
logs: map['logs'],
attempts: map['attempts'],
);
}