Unverified Commit 83799279 authored by Siva's avatar Siva Committed by GitHub

Fix strong mode error in platform_channel/main.dart (#15624)

* Fix strong mode error in platform_channel/main.dart

* Addres code review comments.
parent 6d5810ec
......@@ -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