fromCompatibleFormat static method
- String csv
Implementation
static TeleOpInfo fromCompatibleFormat(String csv) {
final Map<String, dynamic> data =
jsonDecode(csv) as Map<String, dynamic>;
return TeleOpInfo(
underStage: data["undSpker"],
lobs: data["lob"],
scoredSpeaker: data["spker"],
missedSpeaker: data["missSpker"],
scoredAmp: data["amp"],
missedAmp: data["missAmp"]);
}