TProperty class
Base type for any schema property, providing common fields used across variants.
- Implementers
Constructors
-
TProperty({required TPropertyType type, required String? ref, required bool nullable, required String? format, required dynamic defaultValue, required List<
String> enumValues, required TProperty? items}) -
TProperty.fromJson(Map<
String, dynamic> json) -
Factory that selects an appropriate TProperty implementation
based on the JSON Schema node content (
typeor$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