convert<F, T> function
Implementation
T? convert<F, T>(F obj,
{Transformer<F, T>? converter, Predicate<F>? predicate}) {
final _predicate = predicate ?? (i) => i != null;
return _predicate(obj) ? converter!(obj) : null;
}