send method
Implementation
void send(DataFormatVersions version) {
try {
final jsonStr = jsonEncode(toJson());
SocketConnect.instance.sendData(jsonStr,version);
} catch (e, s) {
print(e);
print(s);
}
}
void send(DataFormatVersions version) {
try {
final jsonStr = jsonEncode(toJson());
SocketConnect.instance.sendData(jsonStr,version);
} catch (e, s) {
print(e);
print(s);
}
}