GoogleCastAndroidDevice class
Android-specific device representation.
- Inheritance
-
- Object
- GoogleCastDevice
- GoogleCastAndroidDevice
- Available extensions
Constructors
- GoogleCastAndroidDevice.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})
- Creates a new GoogleCastAndroidDevice instance.
-
GoogleCastAndroidDevice.fromMap(Map<
String, dynamic> map) -
Creates a GoogleCastAndroidDevice from a map.
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
- 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