request/network_request library
Classes
Typedefs
- OnError = void Function(String message)
- 错误回调
- OnProgress = void Function(double progress)
- 请求进度回调
-
OnSuccess<
T> = void Function(T data) - 成功回调
-
Transformer<
T> = T Function(Map< String, dynamic> ? json) - 数据解析器