ModelFieldValueModelUriMdcCliAiCode class
Contents of model_uri.mdc.
model_uri.mdcの中身。
- Inheritance
-
- Object
- CliAiCode
- ModelFieldValueCliAiCode
- ModelFieldValueModelUriMdcCliAiCode
Constructors
- ModelFieldValueModelUriMdcCliAiCode.new()
-
Contents of model_uri.mdc.
const
Properties
- description → String
-
Define the description of the code.
no setteroverride
- directory → String
-
Specify the folder where the code will be generated.
no setteroverride
- excerpt → String
-
Excerpt of the model field value.
no setteroverride
- globs → String
-
Define the file extension.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Define the name of the code.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
body(
String baseName, String className) → String -
Defines the actual body code.
path
is passed relative tolib
,baseName
is the filename, andclassName
is the filename converted to Pascal case.override -
generateAiCode(
String path, {String ext = "mdc", String filter(String value)?}) → Future< void> -
Generate mdc code in
path
.inherited -
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