MethodChannelInappifySdk constructor
MethodChannelInappifySdk({
- MethodChannel? methodChannel,
- EventChannel? eventChannel,
- EventChannel? httpEventChannel,
- String requestIdGenerator()?,
Implementation
MethodChannelInappifySdk({
MethodChannel? methodChannel,
EventChannel? eventChannel,
EventChannel? httpEventChannel,
String Function()? requestIdGenerator,
}) : methodChannel =
methodChannel ??
const MethodChannel(InappifyChannelContract.channelName),
eventChannel =
eventChannel ??
const EventChannel(InappifyChannelContract.eventChannelName),
httpEventChannel =
httpEventChannel ??
const EventChannel(InappifyChannelContract.httpEventChannelName),
_requestIdGenerator = requestIdGenerator;