translation property

String get translation

Implementation

String get translation => _translation;
set translation (String translation)

Implementation

set translation(String translation) {
  assert(translation.isNotEmpty, 'translation cannot be empty');
  _translation = translation;
  notifyListeners();
}