fromCompatibleFormat static method
- String rawData
Implementation
static CommentsInfo fromCompatibleFormat(String rawData) {
final Map<String, dynamic> data =
jsonDecode(rawData) as Map<String, dynamic>;
return CommentsInfo(
comment: data["cmt"] == null || data["cmt"].toString() == ""
? null
: data["cmt"],
associatedId: data["assoc"],
matchNumber: data["match#"],
teamNumber: data["team#"]);
}