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 JsContractRuns 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.
| Parameter | Type | Kind | Default |
|---|---|---|---|
name | String | positional | |
args | List<Object?> | positional |
Returns Future<Object?>.
Last updated on