Webhook.fromJson constructor
Webhook.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Webhook.fromJson(Map<String, dynamic> json) {
return Webhook(
branchName: json['branchName'] as String,
createTime: nonNullableTimeStampFromJson(json['createTime'] as Object),
description: json['description'] as String,
updateTime: nonNullableTimeStampFromJson(json['updateTime'] as Object),
webhookArn: json['webhookArn'] as String,
webhookId: json['webhookId'] as String,
webhookUrl: json['webhookUrl'] as String,
);
}