parseRPCOperationResult static method

String? parseRPCOperationResult(
  1. dynamic result
)

Implementation

static String? parseRPCOperationResult(result) {
  if (result["contents"] == null) {
    return "${result["id"].toString()}";
  } else if (result["status"].toString() == 'applied') {
    return '';
  } else {
    return result["status"].toString();
  }
}