SchemaProperty class

Constructors

SchemaProperty({PropertyConditionList? conditions, String? default_, String? description, List<String>? enum_ = const [], String? format, String? id, PropertyItems? items, int? maxItems, int? minItems, int? propertyOrder, String? title, String? type})
Returns a new SchemaProperty instance.

Properties

conditions PropertyConditionList?
getter/setter pair
default_ String?
getter/setter pair
description String?
getter/setter pair
enum_ List<String>?
getter/setter pair
format String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String?
final
items PropertyItems?
getter/setter pair
maxItems int?
getter/setter pair
minItems int?
getter/setter pair
propertyOrder int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
getter/setter pair
type String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(Map<String, dynamic>? json) SchemaProperty?
Returns a new SchemaProperty instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<SchemaProperty>
mapFromJson(Map<String, dynamic>? json) Map<String, SchemaProperty>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<SchemaProperty>>