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, dynamic> schema) → void
Adds a schema to the internal schema cache using the given id (or URL).
addSchemas(Map<String, Map<String, dynamic>> 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, dynamic>?
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