getSubMapFromFragment static method
Implementation
static JsonSchema getSubMapFromFragment(JsonSchema schema, Uri uri) {
if (uri.fragment.isNotEmpty == true) {
schema = schema.resolvePath('#${uri.fragment}');
}
return schema;
}
static JsonSchema getSubMapFromFragment(JsonSchema schema, Uri uri) {
if (uri.fragment.isNotEmpty == true) {
schema = schema.resolvePath('#${uri.fragment}');
}
return schema;
}