NearbyIOSDevice class final

A device on a P2P network obtained from the IOS platform.

Inheritance

Constructors

NearbyIOSDevice({required NearbyDeviceInfo info, required NearbyDeviceStatus status, String? os, String? osVersion, String? deviceType})
A class representing an IOS device on a P2P network.
NearbyIOSDevice.fromJson(Map<String, dynamic>? json)
Gets NearbyIOSDevice from Map.
factory

Properties

deviceType String?
UIDevice.current.model from IOS Platform.
final
hashCode int
The hash code for this object.
no setteroverride
info NearbyDeviceInfo
The minimum information about the device required to display it in the list and connect to it.
finalinherited
os String?
UIDevice.current.systemName from IOS Platform.
final
osVersion String?
UIDevice.current.systemVersion from IOS Platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status NearbyDeviceStatus
The connection status of the device.
finalinherited

Methods

byPlatform<T>({T onAny(NearbyDevice)?, T onAndroid(NearbyAndroidDevice)?, T onIOS(NearbyIOSDevice)?}) → T?
If you want to get different data depending on the platform, use byPlatform.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override