add method

Future add(
  1. T t
)

Implementation

Future add(T t) async {
  await modifyState((state) async => setState([...state, t]));
}