CampaignHook.fromJson constructor

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

Implementation

factory CampaignHook.fromJson(Map<String, dynamic> json) {
  return CampaignHook(
    lambdaFunctionName: json['LambdaFunctionName'] as String?,
    mode: (json['Mode'] as String?)?.toMode(),
    webUrl: json['WebUrl'] as String?,
  );
}