updateEntity method

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

Implementation

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