findPropertyAs<T> method
Finds a property with keys.
mapper Maps the value to T.
def The default value if key not found.
Implementation
// ignore: use_function_type_syntax_for_parameters
T? findPropertyAs<T>(List<String> keys, T? mapper(Object? v), [T? def]) {
var val = findKeyValue(_map, keys, true);
return val != null ? mapper(val) : def;
}