shareBaseURL property Null safety
The share base URL of videos.
Implementation
String? get shareBaseURL => _shareBaseURL;
Implementation
set shareBaseURL(String? shareBaseURL) {
final shareBaseURLChanged = _shareBaseURL != shareBaseURL;
_shareBaseURL = shareBaseURL;
if (shareBaseURLChanged) {
FWEventBus.getInstance().fire(
FWEvent(
eventName: FWEventName.shareBaseURLUpdated,
),
);
}
final nativeMethodName = FireworkSDKNativeMethodName.setShareBaseURL.name;
FWMethodChannelUtil.getFirewokSDKChannel()
.invokeListMethod(nativeMethodName, _shareBaseURL);
}