https://github.com/ahmeddhus/dart_operators_names
This repository serves as a reference guide to Dart operators and their names. If you've ever wondered what a particular operator is called in Dart, you're in the right place!
https://github.com/ahmeddhus/dart_operators_names
dart
Last synced: 27 days ago
JSON representation
This repository serves as a reference guide to Dart operators and their names. If you've ever wondered what a particular operator is called in Dart, you're in the right place!
- Host: GitHub
- URL: https://github.com/ahmeddhus/dart_operators_names
- Owner: ahmeddhus
- Created: 2023-09-20T07:41:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-08T10:32:15.000Z (over 1 year ago)
- Last Synced: 2025-05-12T12:16:28.748Z (27 days ago)
- Topics: dart
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dart Operators Names
This repository serves as a reference guide to Dart operators and their names. If you've ever wondered/forgotten what a particular operator is called in Dart, you're in the right place!
## Operators and Their Meanings
Operator | Meaning
--- | --- |
?? | Null-aware assignment operator
Ternary Conditional Operator | ? : (isA ? true : false)
??= | If-null operator
?. | Null-aware access & method invocation operator
! | Null assertion operator
?.. | Null-aware cascade operator
?[] | Null-aware index operator
...? | Null-aware spread operator
.. | Cascade Operator
... | Spread Operator
^ | Caret sign
=> | fat arrow/arrow function
& | the Ampersand