WebhookRegistrationDetails.fromJson constructor
Implementation
factory WebhookRegistrationDetails.fromJson(Map<String, Object?> json) {
return WebhookRegistrationDetails(
url: json[r'url'] as String? ?? '',
webhooks: (json[r'webhooks'] as List<Object?>?)
?.map((i) => WebhookDetails.fromJson(
i as Map<String, Object?>? ?? const {}))
.toList() ??
[],
);
}