capture<R> method
R
capture<R>(
- R cb<
T extends DatumEntityBase>()
A helper method to capture the generic type T at runtime.
This is used to get a reliable Type object as a key for maps.
Implementation
// ignore: avoid_types_as_parameter_names
R capture<R>(R Function<T extends DatumEntityBase>() cb) {
return cb<T>();
}