DevMessageV2.runtimeError constructor
DevMessageV2.runtimeError(
- String error, {
- String? stackTrace,
- SourceLocation? location,
Creates a runtime error message.
Implementation
factory DevMessageV2.runtimeError(String error, {String? stackTrace, SourceLocation? location}) =>
DevMessageV2(
type: DevMessageType.runtimeError,
error: error,
stackTrace: stackTrace,
location: location,
severity: DevMessageSeverity.error,
);