convertToStoneTransactionModel static method
Implementation
static StoneTransactionModel convertToStoneTransactionModel(String message) {
if (message.contains('{')) {
final map = json.decode(message);
return StoneTransactionModel.fromMap(map);
}
return StoneTransactionModel.toError(message);
}