Data constructor

Data({
  1. List? errors,
  2. List<Mode>? modes,
})

Implementation

Data({
  this.errors,
  this.modes,
});