cancel abstract method

Future<bool?> cancel()

取消当前显示的Toast

允许应用主动取消正在显示的Toast

返回Future<bool?>,表示操作是否成功

Implementation

Future<bool?> cancel();