tryLast property
Implementation
@Deprecated('Use lastOrNull instead. Will be removed in v3.0.0.')
RxResult<T> get tryLast {
return RxResult.tryExecute(() {
if (value.isEmpty) {
throw const RxException('Cannot get last element of empty set');
}
return value.last;
}, 'get last element from set');
}