getData method

  1. @override
IOSSystemContextMenuItemDataShare getData(
  1. WidgetsLocalizations localizations
)
override

Returns the representation of this class used by method channels.

Implementation

@override
IOSSystemContextMenuItemDataShare getData(WidgetsLocalizations localizations) {
  return IOSSystemContextMenuItemDataShare(title: title ?? localizations.shareButtonLabel);
}