accessPushTime method
AFTimeState
accessPushTime()
inherited
Access the push time in your state view, which is only accurate to your state view's time specificity.
Implementation
AFTimeState accessPushTime() {
final pushTime = s.findTypeOrNull<AFTimeState>();
if(pushTime == null) {
throw AFException("No push time in state view. Make sure you added an AFTimeState in your ...state_view.dart");
}
return pushTime;
}