nonNullable method

  1. @override
GraphQLType<UploadedFile, UploadedFile> nonNullable()
inherited

Creates a non-nullable type that represents this type, and enforces that a field of this type is present in input data.

Implementation

@override
GraphQLType<Value, Serialized> nonNullable() =>
    _nonNullableCache ??= GraphQLNonNullableType<Value, Serialized>._(this);