doc: update readme

This commit is contained in:
ksenia312
2024-02-07 16:36:12 +01:00
parent a320828369
commit da7882608f
+1 -1
View File
@@ -148,7 +148,7 @@ final _nearbyService = NearbyService.getInstance()
```dart ```dart
// You can change the device name on a P2P network only for iOS. // You can change the device name on a P2P network only for iOS.
// Optionally pass iosDeviceName. // Optionally pass the [iosDeviceName].
await _nearbyService.initialize( await _nearbyService.initialize(
data: NearbyInitializeData(iosDeviceName: iosDeviceName), data: NearbyInitializeData(iosDeviceName: iosDeviceName),
); );