onError property

void Function(Event)? onError
final

The function to call when the media fails to load.

Implementation

final void Function(Event)? onError;