Skip to content

Commit

Permalink
refactor(pr): address @coderabbitai code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tsinis committed Feb 8, 2025
1 parent 0c2034e commit 23dea53
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extension WorldCountryWebResources on WorldCountry {
/// Returns the URL of the PNG image file for the country's coat of arms if it
/// has one, or `null` otherwise.
///
/// If the `hasCoatOfArms` property of the [WorldCountry] object is `true`,
/// If the [hasCoatOfArms] property of the [WorldCountry] object is `true`,
/// returns the URL of the PNG image file for the country's coat of arms.
/// Otherwise, returns `null`.
String? maybeCoatOfArmsPngUrl() =>
Expand All @@ -36,7 +36,7 @@ extension WorldCountryWebResources on WorldCountry {
/// Returns the URL of the SVG image file for the country's coat of arms if it
/// has one, or `null` otherwise.
///
/// If the `hasCoatOfArms` property of the [WorldCountry] object is `true`,
/// If the [hasCoatOfArms] property of the [WorldCountry] object is `true`,
/// returns the URL of the SVG image file for the country's coat of arms.
/// Otherwise, returns `null`.
String? maybeCoatOfArmsSvgUrl() =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "../../../helpers/extensions/country_submodels/idd_extension.dart";
///
/// The [Idd] class is a simple value object that represents an International
/// Direct Dialing (IDD) code. It consists of an [int] value that represents the
/// root of the IDD code, and a `List<int>` value that represents the [suffixes]
/// root of the IDD code, and a [List<int>] value that represents the [suffixes]
/// of the IDD code.
///
/// Example usage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import "../../../helpers/extensions/country_submodels/maps_extension.dart";
/// A class that represents URLs for Google Maps and OpenStreetMap.
///
/// The [Maps] class is a simple wrapper around two string URLs for Google Maps
/// and OpenStreetMap. It provides convenience methods for generating the full
/// URLs from the URL prefixes and the map IDs.
/// and OpenStreetMap. The URL prefixes are provided as static constants, while
/// URL generation functionality is available through the [MapsExtension].
///
/// Example usage:
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ part of "world_bloc.dart";
/// The [RegionalBloc] class is an non-abstract class that represents a regional
/// bloc. It consists of a [String] values that represents the name and acronym
/// of the regional bloc. The [name] and [acronym] fields are required and must
/// not be empty. The [otherAcronyms] and [otherNames] fields are non-required.
/// not be empty. The [otherAcronyms] and [otherNames] fields are optional.
///
/// Example usage:
///
Expand Down Expand Up @@ -77,7 +77,7 @@ class RegionalBloc extends WorldBloc {
/// The [acronym] parameter is required and must be a valid bloc acronym.
/// {@macro any_code_object}
/// Returns a [RegionalBloc] object that represents the bloc with the given
/// code or throws a [StateError] if no such bloc exists.
/// code if no such bloc exists.
///
/// The optional [blocs] parameter can be used to specify a list of
/// [RegionalBloc] objects to search through.
Expand Down

0 comments on commit 23dea53

Please sign in to comment.