update method

void update({
  1. Payload? payload,
  2. bool? refresh,
})

위젯 업데이트 payload 업데이트할 페이로드 refresh true일 경우 위젯 전체 새로고침

Implementation

void update({Payload? payload, bool? refresh}) {
  if (payload != null) {
    _webViewController?.update(payload: payload, refresh: refresh ?? false);
  }
}