How do i invoke method on a generic type in dart

前端 未结 0 1816
不知归路
不知归路 2020-11-30 19:42

There are several models have a same structure, { type: xxx, settings: xxx}, so i would like to use a parent class "WidgetConfig" with a generic type "T"

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