showToast method

Future<Null> showToast(
  1. String msg
)

Implementation

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