playerState property

Future<String> playerState

Implementation

static Future<String> get playerState async {
  String state;

  try {
    state = await _channel.invokeMethod('playerState');
  } on PlatformException catch (e) {
    print(e.details);
  }
  return state;
}