Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(874)

Unified Diff: lib/src/json_document_transformer.dart

Issue 1966893002: Fix all strong-mode errors and warnings. (Closed) Base URL: git@github.com:dart-lang/stream_channel.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/isolate_channel.dart ('k') | lib/src/stream_channel_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/json_document_transformer.dart
diff --git a/lib/src/json_document_transformer.dart b/lib/src/json_document_transformer.dart
index 19b2e08f75e0f4818125ed8b67a0386501a409e9..c62c597cb549c8c4b48746faf5116b94edd76b12 100644
--- a/lib/src/json_document_transformer.dart
+++ b/lib/src/json_document_transformer.dart
@@ -22,7 +22,7 @@ final jsonDocument = new JsonDocumentTransformer();
/// [FormatException]. If an unencodable object is added to the sink, it
/// synchronously throws a [JsonUnsupportedObjectError].
class JsonDocumentTransformer
- implements StreamChannelTransformer<String, Object> {
+ implements StreamChannelTransformer<Object, String> {
/// The underlying codec that implements the encoding and decoding logic.
final JsonCodec _codec;
« no previous file with comments | « lib/src/isolate_channel.dart ('k') | lib/src/stream_channel_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698