newPlayer method

  1. @override
Future<String> newPlayer({
  1. String? url,
})
override

Implementation

@override
Future<String> newPlayer({String? url}) async {
  final playerId = await _pigeon.newPlayer(url);
  stateNotifier.getOrAddPlayerNotifier(playerId);
  return playerId;
}