CliCodeSnippet class abstract

Abstract class for defining code snippets.

コードスニペットを定義するための抽象クラス。

Implementers

Constructors

CliCodeSnippet()
Abstract class for defining code snippets.
const

Properties

description → String
Defines the outline of the code.
no setter
hashCode → int
The hash code for this object.
no setterinherited
language → String
Defines the language of the code.
no setter
name → String
Defines the name of the code.
no setter
prefix → String
Defines the code prefix.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

body(String path, String baseName, String className) → String
Defines the actual body code. path is passed relative to lib, baseName is the filename, and className is the filename converted to Pascal case.
generate() → DynamicMap
Generate code snippet.
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