Skip to content
Snippets Groups Projects
Commit 2a261cd8 authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Fix an analyzer warning.

parent e80252fd
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ import '../utils.dart';
/// The spawned isolate sends three kinds of messages. Data messages are emitted
/// as data events, error messages are emitted as error events, and print
/// messages are printed using `print()`.
final _transformer = new StreamChannelTransformer(
final _transformer = new StreamChannelTransformer<Object, Map>(
new StreamTransformer.fromHandlers(handleData: (message, sink) {
switch (message["type"]) {
case "data":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment