Rule constructor

const Rule({
  1. required String objectID,
  2. List<Condition>? conditions,
  3. Consequence? consequence,
  4. String? description,
  5. bool? enabled,
  6. List<TimeRange>? validity,
})

Returns a new Rule instance.

Implementation

const Rule({
  required this.objectID,
  this.conditions,
  this.consequence,
  this.description,
  this.enabled,
  this.validity,
});