NationsLoader class Null safety

  • loads translation form assets or any source
  • extend it to build you custom loader if none of the existing
  • fits your needs
Implementers

Constructors

NationsLoader(String name)
creates a new loader
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
name String
your package name used to place the translations under it for the override feature
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

load(Locale locale) FutureOr<Map<String, Object?>>
  • loads the data from you files
  • noSuchMethod(Invocation invocation) → dynamic
    Invoked when a non-existent method or property is accessed.
    inherited
    toString() String
    A string representation of this object.
    inherited

    Operators

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