CreateFunctionBody class
Constructors
- CreateFunctionBody({Ident? language, FunctionBehavior? behavior, FunctionDefinition? as_, Expr? return_, CreateFunctionUsing? using})
-
const
- CreateFunctionBody.fromJson(Object? json_)
-
Returns a new instance from a JSON value.
May throw if the value does not have the expected structure.
factory
Properties
- as_ → FunctionDefinition?
-
final
- behavior → FunctionBehavior?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- language → Ident?
-
final
- return_ → Expr?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- using → CreateFunctionUsing?
-
final
Methods
-
copyWith(
{Option< Ident> ? language, Option<FunctionBehavior> ? behavior, Option<FunctionDefinition> ? as_, Option<Expr> ? return_, Option<CreateFunctionUsing> ? using}) → CreateFunctionBody - Returns a new instance by overriding the values passed as arguments
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Returns a JSON representation of this.
-
toString(
) → String -
A string representation of this object.
override
-
toWasm(
) → List< Object?> - Returns this as a WASM canonical abi value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override