doTransformFrom<T> function
Implementation
dynamic doTransformFrom<T>(T? data, DataTransformerFrom<T>? transformerFrom) {
if (transformerFrom == null) {
return data;
}
return transformerFrom(data);
}
dynamic doTransformFrom<T>(T? data, DataTransformerFrom<T>? transformerFrom) {
if (transformerFrom == null) {
return data;
}
return transformerFrom(data);
}