nonNull method

  1. @override
GraphQLNonNullType<Json, Object?> nonNull()
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
GraphQLNonNullType<Value, Serialized> nonNull() =>
    _nonNullableCache ??= GraphQLNonNullType<Value, Serialized>._(this);