toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (actions != null) 'actions': actions!,
      if (condition != null) 'condition': condition!,
      if (description != null) 'description': description!,
      if (ruleId != null) 'ruleId': ruleId!,
      if (triggerType != null) 'triggerType': triggerType!,
    };