play method

Future<bool?> play()

Implementation

Future<bool?> play() async {
  if (_nativeChannel == null) {
    print('ERROR: MethodChannel is null');
    return false;
  }
  bool? played = await _nativeChannel!.invokeMethod("play");
  return played;
}