getSingleMomentById method

Future<PeamanMoment> getSingleMomentById({
  1. required String momentId,
})

Implementation

Future<PeamanMoment> getSingleMomentById({
  required final String momentId,
}) {
  return PeamanReferenceHelper.momentsCol
      .doc(momentId)
      .get()
      .then(_momentFromFirebase);
}