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 (triggerFulfillment != null)
        'triggerFulfillment': triggerFulfillment!,
    };