IntlResourceDiscover class
Internationalized resource discover. Identifies and loads available localized resource.
Constructors
- IntlResourceDiscover(String resourcePathPrefix, [String resourcePathSuffix = ''])
-
Creates a IntlResourceDiscover.
resourcePathPrefix
The prefix path of the resource file.resourcePathSuffix
The suffix path of the resource file.
Properties
- findCount → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- resourcePathPrefix → String
-
final
- resourcePathSuffix ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearFindCache(
) → void - Clears the cache used by find.
-
find(
String locale) → FutureOr< IntlResourceContent?> -
Finds the resource with
locale
. -
findAll(
) → Future< List< IntlResourceContent> > - Find all localized versions of the resource.
-
findWithLocales(
List< String> locales) → Future<List< IntlResourceContent> > -
Finds the resource withe
locales
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override