CheckFunc<E> typedef

CheckFunc<E> = void Function(E? x)

Type of a function that checks items added to a PbList.

Throws ArgumentError or RangeError when the item is not valid.

Implementation

typedef CheckFunc<E> = void Function(E? x);