OpenAPIRef<T>.ref constructor

OpenAPIRef<T>.ref(
  1. String $ref, {
  2. String? summary,
  3. String? description,
})

Creates a $ref object.

Implementation

factory OpenAPIRef.ref(String $ref, {String? summary, String? description}) =>
    OpenAPIRef._({
      r'$ref': $ref,
      'summary': ?summary,
      'description': ?description,
    });