warnF property

(void Function(String)?) warnF

Function to call to warn if there is a problem loading this asset. The default version of this getter always returns null. If it is null, the default behavior is to print warnings.

Implementation

void Function(String)? get warnF => null;