GetTriggerResponse.fromJson constructor

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

Implementation

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