Future<Null> showToast(String msg)async{ Map<String,dynamic>args =<String,dynamic>{}; args.putIfAbsent('msg', () => msg); await methodChannel.invokeMethod('showToast',args); return null; }