1. Glossaryفەرهەنگی زاراوەکان
Getter
میتۆدی وەرگرتن
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە

Definitionپێناسە

A special that is read like a field, without parentheses. Dart writes it with get, for example double get area => width * height;. Every field also has a hidden getter.

تایبەت کە وەک دەخوێنرێتەوە، بەبێ کەوانە. بە get دەینووسێت، بۆ نموونە double get area => width * height;. هەموو میتۆدێکی وەرگرتنی شاراوەشی هەیە.

Exampleنموونە

battery.isLow calls the getter bool get isLow => _level < 20;.

battery.isLow بانگی bool get isLow => _level < 20; دەکات.

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

میتۆدی وەرگرتنەکە، میتۆدەکانی وەرگرتن، میتۆدێکی وەرگرتن

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

Proposed descriptive term: the method that 'gets' (وەرگرتن) a value. The keyword get stays English in code.

Related termsزاراوە پەیوەندیدارەکان

Learn more inزیاتر فێربە لە