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