String trParams([Map<String, String> params = const {}]) { var trans = tr; if (params.isNotEmpty) { params.forEach((key, value) { trans = trans.replaceAll('@$key', value); }); } return trans; }