args method

String args(
  1. Map<String, Object> args
)
  • translate a text and replace the args with provided data
  • if there is error will use the config notFoundArgs

Implementation

String args(Map<String, Object> args) =>
    ExtractedData.parse(key: this, translations: AppLang.translations)
        .args(args) ??
    AppLang.config.notFoundArgs(this, args);