error method

void error(
  1. BuildContext context,
  2. String name, {
  3. Map<String, dynamic>? payload,
  4. String? customId,
  5. String? title,
})

Implementation

void error(BuildContext context, String name,
    {Map<String, dynamic>? payload, String? customId, String? title}) {
  return _log(LogLevel.error, context, name,
      payload: payload, customId: customId, title: title);
}