CommandErrorModel constructor

CommandErrorModel({
  1. String? exception,
  2. String? exceptionType,
  3. String? stackTrace,
})

Implementation

factory CommandErrorModel({
  $core.String? exception,
  $core.String? exceptionType,
  $core.String? stackTrace,
}) {
  final _result = create();
  if (exception != null) {
    _result.exception = exception;
  }
  if (exceptionType != null) {
    _result.exceptionType = exceptionType;
  }
  if (stackTrace != null) {
    _result.stackTrace = stackTrace;
  }
  return _result;
}