Language class

Annotations
  • @freezed

Constructors

Language(int id, String name, bool official, String iso639, String iso3166, List<Name> names)
const
factory
Language.fromJson(Json json)
factory

Properties

copyWith → $LanguageCopyWith<Language>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The identifier for this resource.
no setterinherited
iso639 String
The two-letter code of the country where this language is spoken. Note that it is not unique.
no setterinherited
iso3166 String
The two-letter code of the language. Note that it is not unique.
no setterinherited
name String
The name for this resource.
no setterinherited
names List<Name>
The name of this resource listed in different languages.
no setterinherited
official bool
Whether or not the games are published in this language.
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>
inherited
toString() String
A string representation of this object.
inherited

Operators

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