convertToStoneTechResponse static method
Implementation
static StoneTechResponse convertToStoneTechResponse(String message) {
if (message.contains('{')) {
final map = json.decode(message);
return StoneTechResponse.fromMap(map);
}
return StoneTechResponse(message: message);
}