RuntimeFunction class final

A library @function as the runtime calls it.

Constructors

RuntimeFunction({required JsonSchema params, required Object? fn(Map<String, Object?> args), JsonSchema? returns, Object? localized(Map<String, Object?> args, String locale)?})
const

Properties

fn → Object? Function(Map<String, Object?> args)
final
hashCode → int
The hash code for this object.
no setterinherited
localized → Object? Function(Map<String, Object?> args, String locale)?
final
params → Map<String, Object?>
final
returns → JsonSchema?
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