getSchema method

Map<String, dynamic>? getSchema(
  1. String id
)

Returns the schema for the given id from the internal schema cache. This will return null if no schema exists with the given id.

Implementation

Map<String, dynamic>? getSchema(String id) => Schemas.all[id] ?? _schemas[id];