extractPath<R> method
等待响应完成后,自动提取嵌套字段 支持链式调用,适用于提取嵌套路径的字段
示例:
final userName = await http.send(...).extractPath<String>('user.name');
Implementation
Future<R?> extractPath<R>(String path) async {
final response = await this;
return response.extractPath<R>(path);
}