RegisteredWebhook.fromJson constructor
Implementation
factory RegisteredWebhook.fromJson(Map<String, Object?> json) {
return RegisteredWebhook(
createdWebhookId: (json[r'createdWebhookId'] as num?)?.toInt(),
errors: (json[r'errors'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
);
}