style: Apply team linter in stream chat persistence (#331)
* lint(persistence): Apply team linter Signed-off-by: Sahil Kumar <[email protected]> * style: flutter format Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -4,11 +4,9 @@ import 'package:stream_chat_persistence/src/db/moor_chat_database.dart';
|
||||
/// Useful mapping functions for [ConnectionEventEntity]
|
||||
extension ConnectionEventX on ConnectionEventEntity {
|
||||
/// Maps a [ConnectionEventEntity] into [Event]
|
||||
Event toEvent() {
|
||||
return Event(
|
||||
me: ownUser != null ? OwnUser.fromJson(ownUser) : null,
|
||||
totalUnreadCount: totalUnreadCount,
|
||||
unreadChannels: unreadChannels,
|
||||
);
|
||||
}
|
||||
Event toEvent() => Event(
|
||||
me: ownUser != null ? OwnUser.fromJson(ownUser) : null,
|
||||
totalUnreadCount: totalUnreadCount,
|
||||
unreadChannels: unreadChannels,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user