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