FirestoreIdentifiedObject<T>.create constructor
FirestoreIdentifiedObject<T>.create (
- T object,
- T updateObjectWithId(
- T object,
- String id
- RepositoryFirestore<
T> repository
Convenience factory method for creating objects with auto-generated IDs
Implementation
factory FirestoreIdentifiedObject.create(
T object, T Function(T object, String id) updateObjectWithId, RepositoryFirestore<T> repository,) =>
FirestoreIdentifiedObject(object, updateObjectWithId, repository);