state method

Future<VideoPresentationState> state()

Provides the current state of a video presentation.

Implementation

Future<VideoPresentationState> state() async {
  var result = await _methodChannel.invokeMethod<String>("state");
  return Future.value(
      result != null ? VideoPresentationState.decode(result) : null);
}