text method

String text(
  1. String model,
  2. String? key
)

Implementation

String text(String model, String? key) {
  if (model.isEmpty) model = 'System';
  if (_localisedValues![model] == null) return "$key";
  else return _localisedValues![model][key] ?? "$key";
}