register static method
void
register()
Register function to convert from a Map data
Implementation
static void register() {
Validator.registered['unique'] = ValidatorRegister(
creator: () => ValidatorUnique(),
mapping: (vd, k, v) {
var el = vd as ValidatorUnique;
switch (k) {
case 'source':
el.source = v;
break;
}
});
}