verify method
Validate response. If true, the validation succeeds; if false, the validation fails.
responseを検証します。trueの場合は検証成功、falseの場合は検証失敗となります。
Implementation
@override
Future<bool> verify(DynamicMap? response) async {
if (response == null) {
return false;
}
return response.get<int?>("purchaseState", null) == 0;
}