JSONSchema.ref constructor

JSONSchema.ref(
  1. String ref
)

Construct a schema referencing another schema.

Implementation

JSONSchema.ref(String ref) : this(SchemaType.ref, ref: ref);