AsyncError constructor Null safety
- Object error,
- StackTrace? stackTrace
Implementation
AsyncError(Object error, StackTrace? stackTrace)
: error = checkNotNullable(error, "error"),
stackTrace = stackTrace ?? defaultStackTrace(error);
AsyncError(Object error, StackTrace? stackTrace)
: error = checkNotNullable(error, "error"),
stackTrace = stackTrace ?? defaultStackTrace(error);