toWire method

Map<String, Object> toWire()

Serialize as the JSON object a peer introspects at build/link time.

Implementation

Map<String, Object> toWire() => {
      'binding': binding,
      'ffi': ffi.wire,
      'reactive_core': reactiveCore,
      'collections': collections,
      'state_machine': stateMachine,
      'state_charts': stateCharts,
      'ipc': ipc,
      'crdt': crdt,
      'permissions': permissions,
      'capability_negotiation': capabilityNegotiation,
      'async': asyncContext,
    };