customShareUrl property

String? get customShareUrl

Implementation

String? get customShareUrl => _customShareUrl;
set customShareUrl (String? value)

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,
          ),
        );
      }
    },
  );
}