fail function Null safety

void fail(
  1. String message,
  2. {String? file,
  3. int? line,
  4. String? icon}
)

Implementation

void fail(String message, {String? file, int? line, String? icon}) {
  final violation =
      Violation(message: message, file: file, line: line, icon: icon);
  _sender.fail(violation);
}