registerSpecSubType method
void
registerSpecSubType(
- String baseType,
- String name,
- SpecBuildFunction func,
- Map<
String, EditorPropertyType> properties,
Method for registering a subtype of an existing property with its own resolver.
Implementation
@nonVirtual
void registerSpecSubType(String baseType, String name, SpecBuildFunction func,
Map<String, EditorPropertyType> properties) {
_propertyBuilders[name] = func;
_schema[name] = EditorSpecProperty(properties, baseType: baseType);
}