CodeGenerator constructor

CodeGenerator(
  1. GenerationOptions options,
  2. MessagesWithMetadata messageListWithMetadata,
  3. Map<String, ({String hasch, String path})> localeToResourceInfo
)

Implementation

CodeGenerator(
  this.options,
  MessagesWithMetadata messageListWithMetadata,
  this.localeToResourceInfo,
)   : context = messageListWithMetadata.context,
      locale = messageListWithMetadata.locale,
      messages = messageListWithMetadata.messages;