TypeInfo<T>.fromObject constructor
Implementation
factory TypeInfo.fromObject(T o,
[Iterable<Object>? arguments, Object? object]) {
if (arguments == null || arguments.isEmpty) {
return TypeInfo<T>.fromType(o.runtimeType, null, object ?? o);
}
return TypeInfo<T>.fromType(o.runtimeType, arguments, object ?? o);
}