PubCommandDefinition class final

A dart pub command that dpk forwards.

Constructors

PubCommandDefinition({required String name, required String description, List<String> aliases = const [], String category = CommandCategory.pub, bool changesResolution = false})
const

Properties

aliases → List<String>
final
category → String
final
changesResolution → bool
Whether the command can change the resolved packages, so the project cache needs a sync afterwards.
final
description → String
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited