BaseCommandInvocation enum

The invocation paths of the CLI that telemetry distinguishes.

A base command name that matches none of the known invocations reports as other, so that a name a wrapper chose freely is never sent.

Inheritance
Available extensions

Values

scloud → const BaseCommandInvocation
const BaseCommandInvocation(defaultBaseCommand)
serverpodCloud → const BaseCommandInvocation
const BaseCommandInvocation('serverpod cloud')
xcloud → const BaseCommandInvocation
const BaseCommandInvocation('xcloud')
other → const BaseCommandInvocation
const BaseCommandInvocation('other')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
reportedName String
The name reported to analytics and error reporting.
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

Static Methods

from(String? baseCommand) BaseCommandInvocation
Returns the invocation that baseCommand identifies.

Constants

values → const List<BaseCommandInvocation>
A constant List of the values in this enum, in order of their declaration.