update method

  1. @override
Future<ProfileModel> update(
  1. ProfileModel value
)
override

Implementation

@override
Future<ProfileModel> update(ProfileModel value) {
  return profileCollection
      .doc(value.documentID)
      .update(value.toEntity(appId: appId).toDocument())
      .then((_) => value);
}