[LLC, Persistence] Add doc comments
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import 'package:stream_chat/stream_chat.dart';
|
||||
import 'package:stream_chat_persistence/src/db/moor_chat_database.dart';
|
||||
|
||||
///
|
||||
/// Useful mapping functions for [ReactionEntity]
|
||||
extension ReactionEntityX on ReactionEntity {
|
||||
///
|
||||
/// Maps a [ReactionEntity] into [Reaction]
|
||||
Reaction toReaction({User user}) {
|
||||
return Reaction(
|
||||
extraData: extraData,
|
||||
@@ -17,10 +17,9 @@ extension ReactionEntityX on ReactionEntity {
|
||||
}
|
||||
}
|
||||
|
||||
///
|
||||
/// Useful mapping functions for [Reaction]
|
||||
extension ReactionX on Reaction {
|
||||
///
|
||||
ReactionEntity toEntity() {
|
||||
ReactionEntity toEntity() {
|
||||
return ReactionEntity(
|
||||
extraData: extraData,
|
||||
type: type,
|
||||
|
||||
Reference in New Issue
Block a user