RejectionEventContext constructor
RejectionEventContext({
- @Deprecated('This field is deprecated.') Any? commandMessage,
- String? stacktrace,
- Command? command,
Implementation
factory RejectionEventContext({
@$core.Deprecated('This field is deprecated.')
$5.Any? commandMessage,
$core.String? stacktrace,
$43.Command? command,
}) {
final _result = create();
if (commandMessage != null) {
// ignore: deprecated_member_use_from_same_package
_result.commandMessage = commandMessage;
}
if (stacktrace != null) {
_result.stacktrace = stacktrace;
}
if (command != null) {
_result.command = command;
}
return _result;
}