toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (event != null) 'event': event!,
  if (name != null) 'name': name!,
  if (targetFlow != null) 'targetFlow': targetFlow!,
  if (targetPage != null) 'targetPage': targetPage!,
  if (targetPlaybook != null) 'targetPlaybook': targetPlaybook!,
  if (triggerFulfillment != null) 'triggerFulfillment': triggerFulfillment!,
};