Js contract

Generated reference for ovok_sdk: js contract.

  • Stable unknown
  • Release candidate not available
  • Development since 0.2.0-dev.51+80996d9

JsContract

abstract interface class JsContract

Runs a call of the @ovok/native/next contract, such as fhir.read, in an embedded JavaScript engine.

Methods

JsContract.call

Future<Object?> call(String name, List<Object?> args)

Calls name, written namespace.method, with JSON-encodable args.

Completes with the decoded JSON result and throws when the call fails.

ParameterTypeKindDefault
nameStringpositional
argsList<Object?>positional

Returns Future<Object?>.

Last updated on

On this page