InApp constructor

InApp(
  1. MethodChannel _channel,
  2. EventChannel _inAppEventChannel
)

Implementation

InApp(this._channel, EventChannel _inAppEventChannel)
    : inAppEventStream = _inAppEventChannel.receiveBroadcastStream().map(
          (event) => Event(
              name: event["name"],
              payload: Map<String, dynamic>.from(event["payload"])));