isQuiverOptional function Null safety

bool isQuiverOptional(
  1. DartType ty,
  2. ImportModel imports
)

Implementation

bool isQuiverOptional(DartType ty, ImportModel imports) {
  return quiverPackageUris.any((packageUri) => isType(ty, 'Optional', packageUri, imports));
}