getString method

dynamic getString (dynamic key)

Implementation

getString(key) {
  var res = _stringResources[_language][key];
  if (res == null) {
    res = _stringResources["en"][key];
  }
  if (res == null) {
    print("Resource not found: $key");
    return key;
//      throw new ResourceNotFound("Resource not found: $key");
  }
  return res;
}