toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final monitoringTimeInMinutes = this.monitoringTimeInMinutes;
  final rollbackTriggers = this.rollbackTriggers;
  return {
    if (monitoringTimeInMinutes != null)
      'MonitoringTimeInMinutes': monitoringTimeInMinutes,
    if (rollbackTriggers != null) 'RollbackTriggers': rollbackTriggers,
  };
}