isUnmodifiableListView method Null safety

bool isUnmodifiableListView(
  1. TypeInfo typeInfo
)

Implementation

bool isUnmodifiableListView(TypeInfo typeInfo) =>
    typeInfo.typeName!.indexOf('UnmodifiableListView<') == 0;