OnFailed typedef
Callback function for animation failure events.
Called when an animation fails to load or play.
Parameters:
code: Error code indicating the type of failuretype: String description of the error typemessage: Optional detailed error message
Implementation
typedef OnFailed = void Function(int code, String type, String? message);