@optionalTypeArgsannotation for classes whose type arguments are to be treated as optional.
Requiredconstructor with a means to specify a reason to explain why a parameter is required.
@factoryannotation for methods that must either be abstract or must return a newly allocated object.
@literalannotation that indicates that any invocation of a constructor must use the keyword
constunless one or more of the arguments to the constructor is not a compile-time constant.
@protectedannotation for members that must only be called from instance members of subclasses.
@requiredannotation for optional parameters that should be treated as required.
@mustCallSuperannotation for methods that must be invoked by all overriding methods.
Add this to your package's pubspec.yaml file:
dependencies: meta: ^0.12.1
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.1.6||Jul 18, 2018|
|1.1.5||May 3, 2018|
|1.1.2||Sep 28, 2017|
|1.1.1||Jul 19, 2017|
|1.1.0||Jul 10, 2017|
|1.0.5||Mar 31, 2017|
|1.0.4||Sep 20, 2016|
|1.0.3||Sep 14, 2016|
|1.0.2||Aug 15, 2016|
|1.0.1||Jun 27, 2016|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
This package version is not analyzed, because it is more than two years old. Check the latest stable version for its analysis.
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
dartdoc failed. (-10 points)
dartdoc runs without any issues.
|Dart SDK||>=1.12.0 <2.0.0|