addWarning method
Implementation
void addWarning(String warning) {
var isNew = _warnings.add(warning);
if (isNew) {
onWarning?.call(warning);
}
}
void addWarning(String warning) {
var isNew = _warnings.add(warning);
if (isNew) {
onWarning?.call(warning);
}
}