Dart - How to define a property that must be implemented in any classes inheriting?

前端 未结 0 939
广开言路
广开言路 2021-01-30 01:56

If I do this:

class Base {
  void doSomething()
}

class Sub extends Base {

}

I\'ll get a warning in my IDE that I haven\'t implemented do

相关标签:
回答
  • 消灭零回复
提交回复
热议问题