add abstract method

void add(
  1. void fn()
)

Implementation

void add(void Function() fn);