finalize abstract method

Object? finalize(
  1. AggregateContext<V> context
)

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.

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);