InspectionLabels constructor

const InspectionLabels({
  1. String document = 'Inspection',
  2. String site = 'Site',
  3. String when = 'When',
  4. String inspector = 'Inspector',
  5. String pass = 'Pass',
  6. String fail = 'Fail',
  7. String open = 'Open',
  8. String item = 'Item',
  9. String result = 'Result',
  10. String note = 'Note',
  11. Map<CheckMark, String> marks = const <CheckMark, String>{CheckMark.open : 'Open', CheckMark.done : 'Done', CheckMark.pass : 'Pass', CheckMark.fail : 'Fail', CheckMark.na : 'N/A'},
})

InspectionLabels API.

Implementation

const InspectionLabels({
  this.document = 'Inspection',
  this.site = 'Site',
  this.when = 'When',
  this.inspector = 'Inspector',
  this.pass = 'Pass',
  this.fail = 'Fail',
  this.open = 'Open',
  this.item = 'Item',
  this.result = 'Result',
  this.note = 'Note',
  this.marks = const <CheckMark, String>{
    CheckMark.open: 'Open',
    CheckMark.done: 'Done',
    CheckMark.pass: 'Pass',
    CheckMark.fail: 'Fail',
    CheckMark.na: 'N/A',
  },
});