toJson method

Map<String, dynamic> toJson()

Implementation

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