fromJsonListAsync<O> method

FutureOr<List<O?>> fromJsonListAsync<O>(
  1. FutureOr<Iterable> o, {
  2. Type? type,
  3. TypeInfo? typeInfo,
  4. bool duplicatedEntitiesAsID = false,
  5. bool? autoResetEntityCache,
})

Converts o to as List of type allowing async calls (Future and FutureOr).

Implementation

FutureOr<List<O?>> fromJsonListAsync<O>(FutureOr<Iterable> o,
    {Type? type,
    TypeInfo? typeInfo,
    bool duplicatedEntitiesAsID = false,
    bool? autoResetEntityCache}) {
  return decoder.fromJsonListAsync<O>(o,
      type: type,
      typeInfo: typeInfo,
      duplicatedEntitiesAsID: duplicatedEntitiesAsID,
      autoResetEntityCache: autoResetEntityCache);
}