GoogleCastIosDevice class
Represents a Google Cast device specific to iOS platforms.
This class extends GoogleCastDevice to include iOS-specific properties and construction from a map structure typically returned by iOS platform channels.
- Inheritance
-
- Object
- GoogleCastDevice
- GoogleCastIosDevice
Constructors
- GoogleCastIosDevice.new({required String deviceID, required String friendlyName, required String? modelName, required String? statusText, required String deviceVersion, required bool isOnLocalNetwork, required String category, required String uniqueID, required int? index})
- Creates a new GoogleCastIosDevice instance.
-
GoogleCastIosDevice.fromMap(Map<
String, dynamic> map) -
Creates a GoogleCastIosDevice from a map, typically from platform channel data.
factory
Properties
- category → String
-
Category or type of the device.
finalinherited
- deviceID → String
-
Unique identifier for the device.
finalinherited
- deviceVersion → String
-
Version information of the device firmware/software.
finalinherited
- friendlyName → String
-
Human-readable name of the device (e.g., "Living Room TV").
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int?
-
Optional index of the device in the iOS discovery list.
final
- isOnLocalNetwork → bool
-
Whether the device is on the same local network.
finalinherited
- modelName → String?
-
Model name of the device (e.g., "Chromecast", "Google Home").
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusText → String?
-
Current status text displayed by the device.
finalinherited
- uniqueID → String
-
Globally unique identifier for the device.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited