Reputation: 453
Like in this example: https://github.com/brianegan/github_search_angular_flutter/blob/master/github_search_common/lib/src/ui/search_state.dart
The class is referenced to without the dollar sign in other parts of the code. I couldn't find any documentation about this.
Upvotes: 0
Views: 329
Reputation: 6171
$
is a valid character for any name in Dart. In this case, it looks like the convention for https://pub.dartlang.org/packages/meta_types
I'd look at that documentation.
Upvotes: 1