menu
sum_data_types package
documentation
main.dart
main.dart
dark_mode
light_mode
main
library
Classes
DataClass
Annotation to use to generate a data-class
SumType
Annotation to use to generate a sum-type
Unit
Used for alternatives in sum-types that don't take a parameter.
Constants
immutable
→ const Immutable
Used to annotate a class
C
. Indicates that
C
and all subtypes of
C
must be immutable.
required
→ const Required
Used to annotate a named parameter
p
in a method or function
f
. Indicates that every invocation of
f
must include an argument corresponding to
p
, despite the fact that
p
would otherwise be an optional parameter.
sum_data_types package
documentation
main.dart
sum_data_types
package
Libraries
main
sum_data_types
main library