handshake property

Map<String, dynamic> get handshake

Return the handshake payload received from the worker.

Implementation

static Map<String, dynamic> get handshake {
  final handshake = _handshake;
  if (handshake == null) {
    throw StateError('Bridge handshake is not available. Call init() first.');
  }
  return Map.unmodifiable(handshake);
}