optionalDependenciesNullable property
String
get
optionalDependenciesNullable
An explanation that optional dependencies are expected to be nullable.
Implementation
String get optionalDependenciesNullable =>
'For constructors or functions that are potentially invoked by '
'dependency injection, nullable types (i.e. "Engine?") must be annotated '
'@Optional(), and likewise parameters annotated with @Optional() must be '
'nullable in opted-in libraries (i.e. "@Optional() Engine?")';