How to check and cast generic parameters in Dart?

前端 未结 0 358
忘掉有多难
忘掉有多难 2021-01-13 14:10

I am implementing some dynamic input validator in Dart. See code:

abstract class Validator {
  void validate(T value);
  
  static Validator         


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