doc(lib): add documentation for the dart side

This commit is contained in:
ksenia312
2024-01-31 22:21:52 +01:00
parent e7995d1c3a
commit 880cded058
28 changed files with 905 additions and 97 deletions
+2 -2
View File
@@ -21,10 +21,10 @@ class MethodChannelNearbyService extends NearbyServicePlatform {
}
@override
Future<NearbyDevice?> getCurrentDevice() async {
Future<NearbyDeviceInfo?> getCurrentDeviceInfo() async {
return NearbyDeviceMapper.instance.mapToDevice(
await methodChannel.invokeMethod('getCurrentDevice'),
);
)?.info;
}
@override