customShareUrl property
Implementation
String? get customShareUrl => _customShareUrl;
Implementation
set customShareUrl(String? value) {
final customShareUrlChanged = _customShareUrl != value;
_customShareUrl = value;
final nativeMethodName = FireworkSDKNativeMethodName.setCustomShareUrl.name;
FWMethodChannelUtil.getFirewokSDKChannel()
.invokeMethod(nativeMethodName, _customShareUrl)
.then(
(_) {
if (customShareUrlChanged) {
FWEventBus.getInstance().fire(
FWEvent(
eventName: FWEventName.customShareUrlUpdated,
),
);
}
},
);
}