onError method

void onError(
  1. String? error
)

Override this method to get errors thrown by the player

Implementation

void onError(String? error) {/* user implementation */}