@Override en fléchette

abstract class InterfaceClass {
  String? foo;

  void testFunction();
}

class BaseClass extends InterfaceClass {
  @override
  void testFunction() {
    // TODO: implement testFunction
    foo = 'bar';
  }
}
Andrea Verardi