detectScalarTypeName method Null safety

String? detectScalarTypeName(
  1. TypeInfo typeInfo
)

Implementation

String? detectScalarTypeName(TypeInfo typeInfo) => typeInfo.isIterable
    ? RegExp('<(.+)>').allMatches(typeInfo.typeName!).first.group(1)
    : null;