Index: sdk/lib/convert/latin1.dart |
diff --git a/sdk/lib/convert/latin1.dart b/sdk/lib/convert/latin1.dart |
index 1d8546d189b4b052a48c77586a97f2d3f047ad4e..98d7ba57aa5f007d410090992c18ed36c4e928e5 100644 |
--- a/sdk/lib/convert/latin1.dart |
+++ b/sdk/lib/convert/latin1.dart |
@@ -59,9 +59,9 @@ class Latin1Codec extends Encoding { |
} |
} |
- Latin1Encoder get encoder => const Latin1Encoder(); |
+ Converter<String, List<int>> get encoder => const Latin1Encoder(); |
- Latin1Decoder get decoder => |
+ Converter<List<int>, String> get decoder => |
_allowInvalid ? const Latin1Decoder(allowInvalid: true) |
: const Latin1Decoder(allowInvalid: false); |
} |