SearchResult.fromError constructor
Implementation
SearchResult.fromError({
this.lastError = '',
this.lastErrorType = ErrorType.none,
}) : successful = false,
resultCount = 0,
processedTime = DateTime.now(),
items = [];
SearchResult.fromError({
this.lastError = '',
this.lastErrorType = ErrorType.none,
}) : successful = false,
resultCount = 0,
processedTime = DateTime.now(),
items = [];