getNamedType function
Implementation
GraphQLNamedType getNamedType(GraphQLType type) {
GraphQLType _type = type;
while (_type is GraphQLWrapperType) {
_type = (_type as GraphQLWrapperType).ofType;
}
return _type as GraphQLNamedType;
}
GraphQLNamedType getNamedType(GraphQLType type) {
GraphQLType _type = type;
while (_type is GraphQLWrapperType) {
_type = (_type as GraphQLWrapperType).ofType;
}
return _type as GraphQLNamedType;
}