convertTo<T> method

List<T> convertTo<T>(
  1. T fromJson(
    1. Map
    )
)

Implementation

List<T> convertTo<T>(T Function(Map) fromJson) =>
    documents.map((d) => d.convertTo<T>(fromJson)).toList();