Skip to content

Commit

Permalink
refactor: add override annotations (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnc1997 committed Dec 20, 2020
1 parent 0bb2c14 commit e593778
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/models/address_match.dart
Expand Up @@ -64,5 +64,6 @@ class AddressMatch extends SearchMatch {
),
);

@override
Map<String, dynamic> toJson() => _$AddressMatchToJson(this);
}
1 change: 1 addition & 0 deletions lib/src/models/content_search_match.dart
Expand Up @@ -54,5 +54,6 @@ class ContentSearchMatch extends SearchMatch {
),
);

@override
Map<String, dynamic> toJson() => _$ContentSearchMatchToJson(this);
}
1 change: 1 addition & 0 deletions lib/src/models/geo_code_search_match.dart
Expand Up @@ -48,5 +48,6 @@ class GeoCodeSearchMatch extends SearchMatch {
),
);

@override
Map<String, dynamic> toJson() => _$GeoCodeSearchMatchToJson(this);
}
1 change: 1 addition & 0 deletions lib/src/models/matched_stop.dart
Expand Up @@ -75,5 +75,6 @@ class MatchedStop extends SearchMatch {
),
);

@override
Map<String, dynamic> toJson() => _$MatchedStopToJson(this);
}
1 change: 1 addition & 0 deletions lib/src/models/place.dart
Expand Up @@ -55,5 +55,6 @@ class Place extends Point2 {
),
);

@override
Map<String, dynamic> toJson() => _$PlaceToJson(this);
}
1 change: 1 addition & 0 deletions lib/src/models/place_search_match.dart
Expand Up @@ -52,5 +52,6 @@ class PlaceSearchMatch extends SearchMatch {
),
);

@override
Map<String, dynamic> toJson() => _$PlaceSearchMatchToJson(this);
}
1 change: 1 addition & 0 deletions lib/src/models/route_search_match.dart
Expand Up @@ -59,5 +59,6 @@ class RouteSearchMatch extends SearchMatch {
),
);

@override
Map<String, dynamic> toJson() => _$RouteSearchMatchToJson(this);
}
1 change: 1 addition & 0 deletions lib/src/models/stop_point.dart
Expand Up @@ -92,5 +92,6 @@ class StopPoint extends Place {
),
);

@override
Map<String, dynamic> toJson() => _$StopPointToJson(this);
}

0 comments on commit e593778

Please sign in to comment.