Creating a generic property in a Map object in Dart

前端 未结 0 632
遇见更好的自我
遇见更好的自我 2021-01-01 05:14

I have this map:

final x = {
  "y": {},
  "z": {},
}

I want the $y property to hold an object with the type of $e inside

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