of static method
The dialect a $schema value names, or null for an unknown one.
Implementation
static JsonSchemaDialect? of(String schemaUri) {
final key = _stripEmptyFragment(schemaUri).replaceFirst('https://json-schema.org/draft-0', 'http://json-schema.org/draft-0');
for (final d in values) {
if (d.uri == key) return d;
}
return null;
}