Type assignment error in implementing Dart’s ZoneSpecification I’m getting a static analysis error while implementing Dart’s Zone.