Deleted TODO related to testing the new [getTask] method
This commit is contained in:
parent
47bc121cb1
commit
28a112779a
1 changed files with 0 additions and 1 deletions
|
|
@ -143,7 +143,6 @@ class FirestoreProvider {
|
||||||
return Observable(mappedStream);
|
return Observable(mappedStream);
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Add tests for this method.
|
|
||||||
/// Returns a task from an id.
|
/// Returns a task from an id.
|
||||||
Future<TaskModel> getTask(String id) async {
|
Future<TaskModel> getTask(String id) async {
|
||||||
final documentSnapshot = await _firestore.document('tasks/$id').get();
|
final documentSnapshot = await _firestore.document('tasks/$id').get();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue