Dart - Pass Interface as parameter

后端 未结 0 1394
孤独总比滥情好
孤独总比滥情好 2021-01-22 19:30

I\'m looking for a similar solution for passing interface as paremeter in a function like Kotlin has:

test(object: Handler {
    override fun onComplete() {

             


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