last property
PresentationController
get
last
The most recent delivery. Throws if nothing has been delivered — a test asserting on a presentation that was never created has already failed.
Implementation
PresentationController get last {
if (_controllers.isEmpty) {
throw StateError('no trigger has been delivered to this host');
}
return _controllers.last;
}