Skip to content

Commit

Permalink
feat: fixed static analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sardar1208 committed Feb 20, 2024
1 parent 69e1a3b commit a767dd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ class LocationSharingFor {

Map<String, dynamic> toJson() {
return {
'from': from != null ? from!.toUtc().toString() : null,
'to': to != null ? to!.toUtc().toString() : null,
'from': from?.toUtc().toString(),
'to': to?.toUtc().toString(),
'locationSharingType': locationSharingType.toString(),
'isAccepted': isAccepted.toString(),
'isExited': isExited.toString(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ class Coords<T extends num> extends CustomPoint<T> {
String toString() => 'Coords($x, $y, $z)';

@override
bool operator ==(dynamic other) {
bool operator ==(Object other) {
if (other is Coords) {
return x == other.x && y == other.y && z == other.z;
}
Expand Down

0 comments on commit a767dd0

Please sign in to comment.