minimum<U> abstract method
Null safety
- U? selector(
- T object
Finds the minimum of some ManagedObject property.
selector
identifies the property being evaluated, e.g.
var query = new Query<User>();
var youngestUser = await query.reduce.minimum((user) => user.age);
The property must be an attribute and its type must be String, int, double, or DateTime.
Implementation
Future<U?> minimum<U>(U? Function(T object) selector);