Make naming consistent across channel APIs (#9270)

This commit is contained in:
Mikkel Nygaard Ravn
2017-04-18 15:23:15 +02:00
committed by GitHub
parent 752d6096a6
commit 945cfc3ee2
23 changed files with 150 additions and 151 deletions

View File

@@ -29,8 +29,8 @@ class _MyHomePageState extends State<MyHomePage> {
static const String _channel = "increment";
static const String _pong = "pong";
static const String _emptyMessage = "";
static const PlatformMessageChannel<String> platform =
const PlatformMessageChannel<String>(_channel, const StringCodec());
static const BasicMessageChannel<String> platform =
const BasicMessageChannel<String>(_channel, const StringCodec());
int _counter = 0;