PutWebhookOutput.fromJson constructor

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

Implementation

factory PutWebhookOutput.fromJson(Map<String, dynamic> json) {
  return PutWebhookOutput(
    webhook: json['webhook'] != null
        ? ListWebhookItem.fromJson(json['webhook'] as Map<String, dynamic>)
        : null,
  );
}