error method

void error({
  1. required String title,
  2. String? message,
  3. StackTrace? stackTrace,
})

Implementation

void error({
  required String title,
  String? message,
  StackTrace? stackTrace,
}) =>
    _printError(
      message: message,
      title: title,
      stackTrace: stackTrace,
    );