v1UpdateWebhookEndpointResult.fromJson constructor

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

Implementation

factory v1UpdateWebhookEndpointResult.fromJson(Map<String, dynamic> json) {
  final _endpointId = json['endpointId'] as String;
  final _webhookEndpoint = v1WebhookEndpointData
      .fromJson(json['webhookEndpoint'] as Map<String, dynamic>);
  return v1UpdateWebhookEndpointResult(
    endpointId: _endpointId,
    webhookEndpoint: _webhookEndpoint,
  );
}