onWarning property

void Function(String message)? onWarning
final

Told when an edited profile cannot be parsed or read; the last good one stays in effect until the file is fixed. Called once per distinct broken text, and once per spell of the file being unreadable.

Implementation

final void Function(String message)? onWarning;