PayResource class

author:Vans Z date: 2019-09-16

Mixed in types

Constructors

PayResource()

Properties

commonParams Map<String, dynamic>?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenMap Map<String, CancelToken>
getter/setter pairinherited

Methods

cancel({String? tag, String? message}) → void
inherited
download(String url, String savePath) DownloadBuilder
inherited
form(String url, {Map<String, dynamic>? formData}) FormBuilder
inherited
get(String url) GetBuilder
inherited
getDioClient() → Dio
inherited
getPackageRes(String packageUrl) Future<PayPackageEntity>
init(BaseOptions options, {required Map<String, dynamic> commonParam, required String? proxy}) → void
inherited
loadPackageRes(String packageUrl) Future<PayPackageEntity>
loadPriceRes(String priceUrl) Future<PayPriceEntity>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String url) PostBuilder
inherited
setInterceptor({required InterceptorSendCallback onRequest, required InterceptorSuccessCallback onResponse, required InterceptorErrorCallback onError}) → void
add interceptor
inherited
setTransformer(Transformer transformer) → void
add or remove Transformer
inherited
testNetwork() → dynamic
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited