RefProperty class
Represents a $ref schema that points to another component schema.
- Implemented types
Constructors
-
RefProperty({String? ref, TPropertyType type = TPropertyType.refProperty, required bool nullable, required String? format, dynamic defaultValue, required List<
String> enumValues, TProperty? items}) -
RefProperty.fromJson(Map<
String, dynamic> json) -
Creates a RefProperty from a JSON Schema fragment containing
$ref.factory
Properties
- defaultValue → dynamic
-
final
-
enumValues
→ List<
String> -
final
- format → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- items → TProperty?
-
final
- nullable → bool
-
final
- ref → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → TPropertyType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited