ToFirestore<T> typedef Null safety

ToFirestore<T> = Map<String, Object?> Function(T value, SetOptions? options)

Implementation

typedef ToFirestore<T> = Map<String, Object?> Function(
  T value,
  SetOptions? options,
);