shareBaseURL property

String? shareBaseURL

The share base URL of videos.

Implementation

String? get shareBaseURL => _shareBaseURL;
void shareBaseURL=(String? shareBaseURL)

Implementation

set shareBaseURL(String? shareBaseURL) {
  final shareBaseURLChanged = _shareBaseURL != shareBaseURL;
  _shareBaseURL = shareBaseURL;

  final nativeMethodName = FireworkSDKNativeMethodName.setShareBaseURL.name;
  FWMethodChannelUtil.getFirewokSDKChannel()
      .invokeMethod(nativeMethodName, _shareBaseURL)
      .then(
    (_) {
      if (shareBaseURLChanged) {
        FWEventBus.getInstance().fire(
          FWEvent(
            eventName: FWEventName.shareBaseURLUpdated,
          ),
        );
      }
    },
  );
}