AutoInfo.optional constructor

AutoInfo.optional(
  1. {bool notePreloaded = false,
  2. bool taxi = false,
  3. int scoredSpeaker = 0,
  4. int missedSpeaker = 0,
  5. int scoredAmp = 0,
  6. int missedAmp = 0}
)

Implementation

factory AutoInfo.optional(
        {bool notePreloaded = false,
        bool taxi = false,
        int scoredSpeaker = 0,
        int missedSpeaker = 0,
        int scoredAmp = 0,
        int missedAmp = 0}) =>
    AutoInfo(
        notePreloaded: notePreloaded,
        taxi: taxi,
        scoredSpeaker: scoredSpeaker,
        missedSpeaker: missedSpeaker,
        scoredAmp: scoredAmp,
        missedAmp: missedAmp);