finalize abstract method
Computes the final value from a populated context.
This is the last call made with the given context, so this function may
also choose to clean up resources associated with the aggregate context.
The function must either return a bool, num, String, List<int>,
BigInt or null. It may also return a SubtypedValue thereof, see that
class for more details
If invoking the function throws a Dart exception, the sql function will result with an error result as well.
Implementation
Object? finalize(AggregateContext<V> context);