toCompatibleFormat method

  1. @override
String toCompatibleFormat()
override

Implementation

@override
String toCompatibleFormat() {
  return jsonEncode(<String, dynamic>{
    "time": timeStamp,
    "team#": teamNumber,
    "match#": matchNumber,
    "match": matchType.index,
    "allies": alliance.index,
    "scouter": scouter,
    "start": startingPosition.index
  });
}