setReleaseMode method
Sets the release mode.
Check ReleaseMode
's doc to understand the difference between the modes.
Implementation
Future<void> setReleaseMode(ReleaseMode releaseMode) async {
_releaseMode = releaseMode;
await creatingCompleter.future;
return _platform.setReleaseMode(playerId, releaseMode);
}