FirestoreConverter<T extends Object?> constructor

FirestoreConverter<T extends Object?>({
  1. required Map<String, Object?> toFirestore(
    1. T,
    2. dynamic
    ),
  2. required T fromFirestore(
    1. DocumentSnapshotForAll<T>,
    2. dynamic
    ),
})

Implementation

FirestoreConverter({required this.toFirestore, required this.fromFirestore});