detectScalarType method Null safety

Type detectScalarType(
  1. TypeInfo typeInfo
)

Implementation

Type detectScalarType(TypeInfo typeInfo) {
  typeInfo.scalarTypeName = detectScalarTypeName(typeInfo);
  return detectTypeByName(typeInfo.scalarTypeName);
}