test function

Future<String> test()

Implementation

Future<String> test() async {
    print("向服务器发送请求...");
    sleep(const Duration(seconds: 5));
    print("收到服务器返回的数据...");
    return "test";
}