CockpitCommandError.targetNotHittable constructor
CockpitCommandError.targetNotHittable({})
Creates a CockpitCommandError using the named constructor targetNotHittable.
Implementation
factory CockpitCommandError.targetNotHittable({
required String message,
Map<String, Object?> details = const <String, Object?>{},
}) {
return CockpitCommandError(
code: targetNotHittableCode,
message: message,
details: details,
);
}