ErrorResult constructor Null safety
- Object error,
- [StackTrace? stackTrace]
Implementation
ErrorResult(this.error, [StackTrace? stackTrace])
: stackTrace = stackTrace ?? AsyncError.defaultStackTrace(error);
ErrorResult(this.error, [StackTrace? stackTrace])
: stackTrace = stackTrace ?? AsyncError.defaultStackTrace(error);