getPlatformModel method

Future<String?> getPlatformModel()

Gets model of current device.

  • Sample answer for Android: "Android"
  • Sample answer for iOS: "IPhone 15 Pro"

Implementation

Future<String?> getPlatformModel() {
  return NearbyServicePlatform.instance.getPlatformModel();
}