platform/core/mocking/example/main.dart

8 lines
224 B
Dart

import 'dart:async';
import 'package:angel3_mock_request/angel3_mock_request.dart';
Future<void> main() async {
var rq =
MockHttpRequest('GET', Uri.parse('/foo'), persistentConnection: false);
await rq.close();
}