Messages constructor
Constructor for the Messages
class.
Takes a list of translations as a parameter, which should contain individual translation maps. These maps will be combined into a single map to be used as the keys for translations in the application.
Implementation
Messages(this.translations);