decodeJsonList<T> method

List<T> decodeJsonList<T>(
  1. FromJson<T> itemFromJson
)

Implementation

List<T> decodeJsonList<T>(FromJson<T> itemFromJson) {
  final List decoded = _decode();
  return decoded.map((e) => itemFromJson(e)).toList(growable: false);
}