onError method
Override this method to get errors thrown by the player
Implementation
void onError(String? error) {/* user implementation */}
Override this method to get errors thrown by the player
void onError(String? error) {/* user implementation */}