listOf<T> static method
The items of serializer when it was made with a list, so its JSON
is an array. Else null. For the JSON writer that @Serialize()
makes.
Implementation
static List<T>? listOf<T>(Serializer<T> serializer) {
return serializer._list;
}