Localization class

The localization object

Annotations
  • @freezed

Constructors

Localization({required List<Language> availableLanguages, required List<Country> availableCountries, required Language language, required Country country, required Market market})
The localization object constructor
const
factory
Localization.fromJson(Map<String, dynamic> json)
The localization object from json
factory

Properties

availableCountries List<Country>
no setterinherited
availableLanguages List<Language>
no setterinherited
copyWith → $LocalizationCopyWith<Localization>
Create a copy of Localization with the given fields replaced by the non-null parameter values.
no setterinherited
country Country
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
language Language
no setterinherited
market Market
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Localization to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited