Locale class

A location/region designation for language.

Constructors

Locale({String? id, String? name, String? region, List<String>? tags})
Locale.fromJson(Map json_)

Properties

hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
The id for this locale.
getter/setter pair
name ↔ String?
A human-friendly name for this language/locale.
getter/setter pair
region ↔ String?
A human-friendly string representing the region for this locale.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags ↔ List<String>?
Tags for this dimension.
getter/setter pair

Methods

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

Operators

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