@Override in Dart

abstract class InterfaceClass {
  String? foo;

  void testFunction();
}

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