Extension method
میتۆدی پاشکۆ
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A added to a type that already exists, such as int or String, without changing that type's own code. Dart writes it inside extension Name on Type { ... }.
کە بۆ جۆرێکی هەبوو زیاد دەکرێت، وەک int یان String، بەبێ گۆڕینی کۆدی خودی ئەو جۆرە. لەنێو extension Name on Type { ... }ـدا دەینووسێت.
Exampleنموونە
extension KurdishDigits on int lets you write 2026.toKurdishDigits().
extension KurdishDigits on int ڕێگە دەدات بنووسیت 2026.toKurdishDigits().
Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
میتۆدی پاشکۆکە، میتۆدەکانی پاشکۆ، میتۆدێکی پاشکۆ
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Proposed on the model of the registry's extension (an add-on module, «پاشکۆ»): an extension method is an add-on method for an existing type.