registerWith static method
void
registerWith()
If the modern Share UI i.e. DataTransferManager
is not available, then use this Dart class instead of platform specific implementation.
Implementation
static void registerWith() {
if (!VersionHelper.instance.isWindows10RS5OrGreater) {
SharePlatform.instance = ShareWindows();
}
}