RuntimeFunction constructor

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

Implementation

const RuntimeFunction({
  required this.params,
  required this.fn,
  this.returns,
  this.localized,
});