PropertySpec class

DTO used for property mapper.

Constructors

PropertySpec({required JsonSchema unresolvedPropertySchema, required JsonSchema propertySchema, required String? title, required String? description, required String propertyName, required bool required, required MostProperty? parent})
Creates a PropertySpec.

Properties

description → String?
description property.
final
hashCode → int
The hash code for this object.
no setterinherited
parent → MostProperty?
Parent property.
final
propertyName → String
propertyName property from the parent JSON Schema.
final
propertySchema → JsonSchema
Resolved JSON Schema of the property.
final
required → bool
Whether the property is required on its parent.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
title property.
final
unresolvedPropertySchema → JsonSchema
JSON Schema of the property.
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