enableNullSafetyTypes<R> method
- R body(
Code that understands nullability should be run using this method, otherwise all type operations will treat all nullabilities as star.
Implementation
static R enableNullSafetyTypes<R>(R Function() body) {
return runZoned<R>(body, zoneValues: {_zoneKey: true});
}