itext method

String? itext(
  1. String? textId,
  2. String? form
)

The raw itext for textId in form (or the default form) in the current language; null without a localizer or text.

Implementation

String? itext(String? textId, String? form) {
  if (textId == null || textId.isEmpty) return null;
  final localizer = this.localizer;
  if (localizer == null) return null;
  final id = form != null && form.isNotEmpty ? '$textId;$form' : textId;
  return localizer.getRawText(localizer.locale, id);
}