TypeInfo<T>.fromSetType constructor

TypeInfo<T>.fromSetType(
  1. Object setType
)

Implementation

factory TypeInfo.fromSetType(Object setType) {
  var t = TypeInfo.from(setType);
  return TypeInfo<T>.fromType(Set, [t]);
}