isMainThread method

Future<bool> isMainThread()

Implementation

Future<bool> isMainThread() async {
  return await _channel.invokeMethod("isMainThread");
}