'Karan Sikka' via Dart Misc
2017-07-12 15:43:25 UTC
Hi, I can't find how to properly annotate a function that's a field as a
class.
Say I have
class Configuration {
Function statsGetter;
Configuration(this.statsGetter);
}
Any way I can further annotate Function statsGetter to have input/output
type annotations?
class.
Say I have
class Configuration {
Function statsGetter;
Configuration(this.statsGetter);
}
Any way I can further annotate Function statsGetter to have input/output
type annotations?
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.