parseMessage static method
Implementation
static int? parseMessage(String controlMessage) {
try {
final control = json.decode(controlMessage);
if (control is Map && control[_key] == _id) {
return control[_type] as int;
}
} catch (e) {}
return null;
}