$enc<T> method
Implementation
dynamic $enc<T>(T value, String key, [MappingHooks? hooks]) {
return guard(
MapperMethod.encode,
'.$key',
() => hooks.encode<T>(value, toValue),
);
}
dynamic $enc<T>(T value, String key, [MappingHooks? hooks]) {
return guard(
MapperMethod.encode,
'.$key',
() => hooks.encode<T>(value, toValue),
);
}