BaseDao class

Constructors

BaseDao()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

requestMap Map?
getter/setter pair
sessionId String
getter/setter pair

Static Methods

compressImage(String image) Future<String>
decryptFromBase64(String data, String keyStr) Future<String>
doCheck(String? signKey, String decryptKey) Future<bool>
encryptToBase64(String data, String keyStr) Future<String>
des加密
fromBaseEncrypt(Map map, dynamic url, {bool token = true}) Future<DataResult>
数据加密v2
fromBaseEncryptV3(Map map, dynamic url, {bool post = true, Map<String, dynamic>? queryParameters}) Future<DataResult>
数据加密v3
fromBaseJson(dynamic map, dynamic url, {bool token = true}) Future<DataResult>
数据封装v1
getLocale() Future<String>
getNetWork() Future<String>
randomSize(int size) String
requestParams() Future<Map>
基本参数