updateEntity method

  1. @override
Future<InviteDashboardEntity> updateEntity(
  1. String documentID,
  2. InviteDashboardEntity value
)
override

Implementation

@override
Future<InviteDashboardEntity> updateEntity(
    String documentID, InviteDashboardEntity value) {
  return inviteDashboardCollection
      .doc(documentID)
      .update(value.toDocument())
      .then((_) => value);
}