getPost method
Implementation
ValueStream<Post?> getPost(Authorperm id) {
final BehaviorSubject<Post?> controller;
if (_postStreamControllers.containsKey(id)) {
controller = _postStreamControllers[id]!;
} else {
controller = BehaviorSubject<Post?>();
_postStreamControllers[id] = controller;
unawaited(_fetchAndAddPost(id));
}
return controller;
}