Dollar sign can be observed in generated classes very often.
Also types start there with $
sign. I know Dart language allows class names to contain dollar sign but maybe there is a hidden meaning of it which I am not aware of? I found similar question on stackoverflow but it was asked in 2012 and the answer is not valid any more.
Example 1.
class Counter {
int _counter = 0;
int next() => ++_counter;
}
class Operation {
void operate(int step) { doSomething(); }
}
class $OperationWithCounter = Operation with Counter;
class Foo extends $OperationWithCounter{
void operate([int step]) {
super.operate(step ?? super.next());
}