void main() {
        test<int>();
    }

  static testT<T>() {
      //判断T是否为某一类型或其子类
    print(List<T>() is List<num>);
    //得到T的类型
    print(typeOf<T>());
  }

  static Type typeOf<T>() => T;