jsonEncode<T> static method
The elements of the iterable (type T) must be
directly encodable by dart:convert.jsonEncode
(e.g., num, String, bool, null, List, or Map
with encodable keys and values).
Implementation
static String jsonEncode<T>(Iterable<T> iterable) => dc.jsonEncode(iterable.toList());