asNullable method

  1. @override
RefSpec asNullable()
override

Creates a copy of this spec with nullable set to true.

Implementation

@override
RefSpec asNullable() => RefSpec(
      typeName: typeName,
      nullable: true,
      description: description,
      examples: examples,
      isDeprecated: isDeprecated,
    );