exportMap method

Map<String, dynamic> exportMap()

Implementation

Map<String, dynamic> exportMap() {
  _packCommentsClass();
  Map<String, dynamic> map = <String, dynamic>{
    "prelim": prelim,
    "auto": auto,
    "teleop": teleop,
    "endgame": endgame,
    "misc": misc
  };
  if (comments.isNotEmpty) {
    map["cmt"] = comments;
  }
  return map;
}