forked from eatvio/eatvio_app
feat(profile): send message and subscribe button
This commit is contained in:
@@ -26,4 +26,12 @@ class SubCubit extends Cubit<SubState> {
|
||||
emit(SubState.error(errorMessage: e.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
subscribe(String slug) async {
|
||||
return await profileRepository.subscribe(slug);
|
||||
}
|
||||
|
||||
unsubscribe(String slug) async {
|
||||
return await profileRepository.unsubscribe(slug);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user