ArrayProperty class
Represents an array schema property.
Contains the items schema, optional format, enum, default, and nullability.
- Implemented types
Constructors
-
ArrayProperty({TProperty? items, String? ref, required bool nullable, TPropertyType type = TPropertyType.arrayProperty, required String? format, dynamic defaultValue, required List<
String> enumValues}) -
ArrayProperty.fromJson(Map<
String, dynamic> json) -
Creates an ArrayProperty from a JSON Schema fragment.
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