GoogleCastDevice class

Represents a Google Cast device discovered on the network.

This class contains all the information about a Cast-capable device that has been discovered during the device discovery process.

Implementers

Constructors

GoogleCastDevice({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 Google Cast device instance.

Properties

category → String
Category or type of the device.
final
deviceID → String
Unique identifier for the device.
final
deviceVersion → String
Version information of the device firmware/software.
final
friendlyName → String
Human-readable name of the device (e.g., "Living Room TV").
final
hashCode → int
The hash code for this object.
no setteroverride
isOnLocalNetwork → bool
Whether the device is on the same local network.
final
modelName → String?
Model name of the device (e.g., "Chromecast", "Google Home").
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusText → String?
Current status text displayed by the device.
final
uniqueID → String
Globally unique identifier for the device.
final

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.
override