How to specify generic type such that we can use some operation on the generic type in Flutter?

前端 未结 0 730
孤独总比滥情好
孤独总比滥情好 2021-01-26 13:49

For example, I expect can works like this:

Class Parent {
  String data;
  Parent({ this.data });
}

Class Child extends Paren         


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