DisplayNames class

The Intl.DisplayNames() object enables the consistent translation of language, region and script display names.

Compatibility.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

DisplayNames.new(dynamic locales, DisplayNamesOptions options)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
of String? Function(String)

Available on DisplayNames, provided by the DisplayNames$Typings extension

getter/setter pair
resolvedOptions ResolvedDisplayNamesOptions Function()

Available on DisplayNames, provided by the DisplayNames$Typings extension

getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

supportedLocalesOf List<String> Function([dynamic, dynamic])
getter/setter pair