onError property
(dynamic Function()?)
onError
getter/setter pair
Represents a callback function that will be called if an error occurred while trying to load the script.
NOTE: This callback requires the id property to be set.
Implementation
Function()? onError;