setData method

void setData(
  1. SetVideoDataFunction fn
)

Implementation

void setData(SetVideoDataFunction fn) {
  final newState = fn(videoCallData);
  videoCallData = newState;
  log('setData: $videoCallData');
}