SchemaObject class

Implementers
Annotations
  • @JsonSerializable()

Constructors

SchemaObject({required String name, required bool isArray, required bool isObject, required String typeName, required bool required, required bool isRoot, List<SchemaObject>? fields, String? description, SchemaObject? itemsType})
const
SchemaObject.fromOpenApi({required APISchemaObject object, required String name, bool required = false, bool isRoot = true})
factory

Properties

description String?
final
fields List<SchemaObject>?
final
fromJsonString String
no setter
hashCode int
The hash code for this object.
no setterinherited
isArray bool
final
isObject bool
final
isRoot bool
final
itemsType SchemaObject?
final
name String
final
required bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJsonString String
no setter
typeName String
final

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.
inherited

Operators

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