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