Encodes a value to an iterable.
This is a typed wrapper around the toValue method.
Iterable<dynamic> toIterable<T>(T object);