I18nMessage constructor

I18nMessage(
  1. String text,
  2. I18nMetadata metadata, {
  3. Map<String, String> args = const {},
})

Creates an internationalized message from text with metadata.

Any arguments that appear as interpolations in text should be mapped to their value in args.

Implementation

I18nMessage(
  this.text,
  this.metadata, {
  this.args = const {},
});