DeletedWebhookEndpoint.fromJson constructor

DeletedWebhookEndpoint.fromJson(
  1. Object? json
)

Implementation

factory DeletedWebhookEndpoint.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return DeletedWebhookEndpoint(id: (map['id'] as String));
}