fromJsonList<T> static method
List<T?>
fromJsonList<T>(
- Iterable o, {
- Type? type,
- TypeInfo? typeInfo,
- JsomMapDecoder? jsomMapDecoder,
- EntityHandlerProvider? entityHandlerProvider,
- EntityCache? entityCache,
- bool? autoResetEntityCache,
Converts o to as List of type.
Implementation
static List<T?> fromJsonList<T>(
Iterable o, {
Type? type,
TypeInfo? typeInfo,
JsomMapDecoder? jsomMapDecoder,
EntityHandlerProvider? entityHandlerProvider,
EntityCache? entityCache,
bool? autoResetEntityCache,
}) {
var jsonDecoder = _buildJsonDecoder(
jsomMapDecoder,
entityHandlerProvider,
entityCache,
);
return jsonDecoder.fromJsonList<T>(
o,
type: type,
typeInfo: typeInfo,
autoResetEntityCache: autoResetEntityCache,
);
}