add method

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

Implementation

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