storeZone function

void storeZone([
  1. Zone? zone
])

Store the specified (or current if none is specified) zone for use within zonedExpect.

Implementation

void storeZone([Zone? zone]) {
  _zone = zone ?? Zone.current;
}