CockpitNativeCapture constructor

const CockpitNativeCapture({
  1. MethodChannel? channel,
})

Implementation

const CockpitNativeCapture({MethodChannel? channel})
  : _channel = channel ?? const MethodChannel(_channelName);