revoke static method
退款--仅供安卓
Implementation
static Future<AWResponseModel<bool>> revoke(String productId) async {
var result =
await _channel.invokeMethod('revoke', {"productId": productId});
final model = getResponseModel(result);
if (!model.result) {
return AWResponseModel.sendFailed(model.msg);
}
return AWResponseModel.sendSuccess(model.result);
}