toCompatibleFormat method

  1. @override
String toCompatibleFormat()
override

Implementation

@override
String toCompatibleFormat() {
  return jsonEncode(<String, dynamic>{
    "res": matchResult.index,
    "end": endState.index,
    "hmny": harmony.index,
    "hmnyAttempt": harmonyAttempted,
    "trap": trapScored.index,
    "mic": micScored.index,
  });
}