addSchema method

void addSchema(
  1. String id,
  2. Map<String, dynamic> schema
)

Adds a schema to the internal schema cache using the given id (or URL).

Implementation

void addSchema(String id, Map<String, dynamic> schema) =>
    _schemas[id] = schema;