ShortcutMapProperty constructor Null safety
- String name,
- Map<
ShortcutActivator, Intent> value, - {bool showName = true,
- Object defaultValue = kNoDefaultValue,
- DiagnosticLevel level = DiagnosticLevel.info,
- String? description}
Create a diagnostics property for Map<ShortcutActivator, Intent>
objects,
which are the same type as the Shortcuts.shortcuts property.
Implementation
ShortcutMapProperty(
String super.name,
Map<ShortcutActivator, Intent> super.value, {
super.showName,
Object super.defaultValue,
super.level,
super.description,
}) : assert(showName != null),
assert(level != null);