fromJsonList<O> method

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

Converts o to as List of type.

Implementation

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