maximum<U> method

Future<U> maximum <U>(U selector(T object))

Finds the maximum of some ManagedObject property.

selector identifies the property being evaluated, e.g.

    var query = Query<User>();
    var oldestUser = await query.reduce.maximum((user) => user.age);

The property must be an attribute and its type must be String, int, double, or DateTime.

Implementation

Future<U> maximum<U>(U selector(T object));