MergedAssetLoader class
An AssetLoader that merges translation assets from multiple sources.
Loads JSON translation files from both the main app and a base package, then merges them so the app-specific translations override the base ones.
Example usage:
EasyLocalization(
  assetLoader: const MergedAssetLoader(),
  supportedLocales: [Locale('en'), Locale('es')],
  path: 'assets/translations',
  child: MyApp(),
);
Constructors
- MergedAssetLoader()
- 
          
            const
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  load(String path, Locale locale) → Future< Map< String, dynamic> >
- 
  Loads translations for a given localefrom both the app and the base package.
- 
  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