FromFirestore<T> typedef

FromFirestore<T> = T Function(DocumentSnapshot<Map<String, Object?>> snapshot, SnapshotOptions? options)

Reads a T from the raw data of a document: the fromFirestore argument of withConverter.

Implementation

typedef FromFirestore<T> =
    T Function(
      DocumentSnapshot<Map<String, Object?>> snapshot,
      SnapshotOptions? options,
    );