SchemaCache class

Constructors

SchemaCache()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addSchema(String id, Map<String, Object> schema) → void
Adds a schema to the internal schema cache using the given id (or URL).
addSchemas(Map<String, Map<String, Object>> schemas) → void
Adds multiple schemas to the internal schema cache. The key to the schemas must be the URL / id and the value is the actual schema itself.
getSchema(String id) Map<String, Object>?
Returns the schema for the given id from the internal schema cache. This will return null if no schema exists with the given id.
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