captureMessage method
Reports the template
Implementation
Future<SentryId> captureMessage(
String formatted, {
SentryLevel? level,
String? template,
List<dynamic>? params,
Scope? scope,
Hint? hint,
}) {
final event = SentryEvent(
message: SentryMessage(formatted, template: template, params: params),
level: level ?? SentryLevel.info,
timestamp: _options.clock(),
);
return captureEvent(event, scope: scope, hint: hint);
}