addEntity method

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

Implementation

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