remove unused import
Change-Id: I2337a3ba638f4718bfc71abedf3fae5ae0ebb189
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431641
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
diff --git a/samples/ffi/httpIG/lib/http.dart b/samples/ffi/httpIG/lib/http.dart
index 59a3d40..a7331ad 100644
--- a/samples/ffi/httpIG/lib/http.dart
+++ b/samples/ffi/httpIG/lib/http.dart
@@ -7,7 +7,6 @@
import 'dart:ffi';
import 'dart:isolate';
import 'dart:io';
-import 'dart:typed_data';
import 'package:ffi/ffi.dart';
@@ -72,18 +71,18 @@
rp.sendPort.send(s);
});
rp.listen(
- (s) {
- print('httpServe counter: $counter');
- onRequest(s);
- },
- onError: (e, st) {
- print('httpServe receiver get error $e $st');
- },
- onDone: () {
- nativeHttpStopServing();
- callback.close();
- },
- );
+ (s) {
+ print('httpServe counter: $counter');
+ onRequest(s);
+ },
+ onError: (e, st) {
+ print('httpServe receiver get error $e $st');
+ },
+ onDone: () {
+ nativeHttpStopServing();
+ callback.close();
+ },
+ );
// Invoke the native function to start the HTTP server. Our example
// HTTP library will start a server on a background thread, and pass