handle method

  1. @override
Future<void> handle(
  1. String methodName,
  2. dynamic methodArguments
)
override

Implementation

@override
Future<void> handle(String methodName, dynamic methodArguments) async {
  if (methodName == 'impressionLog') {
    if (_streamController.hasListener &&
        !_streamController.isPaused &&
        !_streamController.isClosed) {
      _streamController.add(Impression.fromMap(
          Map<String, dynamic>.from(methodArguments ?? {})));
    }
  }
}