SchemaObject class Null safety

Implementers
Annotations

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
read-only
hashCode int
The hash code for this object.
read-onlyinherited
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.
read-onlyinherited
toJsonString String
read-only
typeName String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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