onError property
A callback function that will be called when an error occurs whilst attempting to play media.
Implementation
final Function(String description)? onError;
A callback function that will be called when an error occurs whilst attempting to play media.
final Function(String description)? onError;