Skip to content

Commit

Permalink
dart format .
Browse files Browse the repository at this point in the history
  • Loading branch information
lambiengcode committed Oct 27, 2024
1 parent f1a9bd1 commit d988c14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/types/models/meeting_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ class Meeting {
.getMeetingStatusEnum,
createdAt: DateTime.parse(map['createdAt']).toLocal(),
latestJoinedAt:
DateTime.parse(map['latestJoinedAt'] ?? map['createdAt'])
.toLocal(),
DateTime.parse(map['latestJoinedAt'] ?? map['createdAt']).toLocal(),
latestMessage: map['latestMessage'] != null &&
map['latestMessage'] is Map<String, dynamic>
? MessageModel.fromMap(map['latestMessage'])
Expand Down

0 comments on commit d988c14

Please sign in to comment.