PrelimInfo constructor

PrelimInfo(
  1. {required int timeStamp,
  2. required int teamNumber,
  3. required int matchNumber,
  4. required MatchType matchType,
  5. required TeamAlliance alliance,
  6. String? scouter,
  7. required MatchStartingPosition startingPosition}
)

Implementation

PrelimInfo(
    {required this.timeStamp,
    required this.teamNumber,
    required this.matchNumber,
    required this.matchType,
    required this.alliance,
    String? scouter,
    required this.startingPosition})
    : scouter = scouter ?? UserTelemetry().currentModel.profileName;