play method

Future<bool?> play()

Implementation

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