How To

Define a Method Signature with `typedef`

typedef Comparison<T> = int Function(T a, T b);

class A<T> {
  Comparison<T> compare;
}