tryGetSchema method

  1. @override
IMSchemaDefinition tryGetSchema(
  1. MSchemaRef ref
)
override

Implementation

@override
IMSchemaDefinition tryGetSchema(MSchemaRef ref) {
  final existing = _schemas[ref] ?? (throw Exception("Missing schema for ref $ref"));
  return existing;
}