JsonSchemaProperty class
JSON Schema property definition parsed from schema.
Constructors
-
JsonSchemaProperty({required String key, required String type, String? title, String? description, String? format, dynamic defaultValue, List? enumValues, List<
String> ? enumLabels, num? minimum, num? maximum, int? minLength, int? maxLength, String? pattern, bool required = false, bool readOnly = false, bool writeOnly = false, JsonSchemaProperty? items, Map<String, JsonSchemaProperty> ? properties, String? uiWidget, int? uiOrder, bool uiHidden = false, String? uiPlaceholder, String? uiHelp, List<Map< ? oneOf, List<String, dynamic> >Map< ? anyOf, List<String, dynamic> >Map< ? allOf, String? ref, dynamic const_})String, dynamic> > -
const
Properties
-
allOf
→ List<
Map< ?String, dynamic> > -
final
-
anyOf
→ List<
Map< ?String, dynamic> > -
final
- const_ → dynamic
-
final
- defaultValue → dynamic
-
final
- description → String?
-
final
-
enumLabels
→ List<
String> ? -
final
- enumValues → List?
-
final
- format → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- items → JsonSchemaProperty?
-
final
- key → String
-
final
- maximum → num?
-
final
- maxLength → int?
-
final
- minimum → num?
-
final
- minLength → int?
-
final
-
oneOf
→ List<
Map< ?String, dynamic> > -
final
- pattern → String?
-
final
-
properties
→ Map<
String, JsonSchemaProperty> ? -
final
- readOnly → bool
-
final
- ref → String?
-
final
- required → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
- type → String
-
final
- uiHelp → String?
-
final
- uiHidden → bool
-
final
- uiOrder → int?
-
final
- uiPlaceholder → String?
-
final
- uiWidget → String?
-
final
- writeOnly → bool
-
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