ListWebhooksResult.fromJson constructor

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

Implementation

factory ListWebhooksResult.fromJson(Map<String, dynamic> json) {
  return ListWebhooksResult(
    webhooks: (json['webhooks'] as List)
        .whereNotNull()
        .map((e) => Webhook.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}