isUri method Null safety

bool isUri(
  1. TypeInfo typeInfo
)

Implementation

bool isUri(TypeInfo typeInfo) =>
    typeInfo.typeName == 'Uri' || typeInfo.typeName == '_SimpleUri';