Unverified Commit b23d7027 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Fix a type error in platform_channel_swift example (#17354)

parent 52e46056
......@@ -47,7 +47,7 @@ class _PlatformChannelState extends State<PlatformChannel> {
});
}
void _onError(PlatformException error) {
void _onError(Object error) {
setState(() {
_chargingStatus = 'Battery status: unknown.';
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment