IOSGoogleCastSessions class

Represents a Google Cast session on iOS devices.

This class extends GoogleCastSession and provides additional functionality specific to iOS, including a factory method for creating an instance from a map (typically from JSON).

Inheritance

Constructors

IOSGoogleCastSessions.new({required GoogleCastDevice? device, required String? sessionID, required GoogleCastConnectState connectionState, required bool currentDeviceMuted, required double currentDeviceVolume, required String deviceStatusText})
Creates an IOSGoogleCastSessions instance.

Properties

connectionState GoogleCastConnectState
The current connection state.
finalinherited
currentDeviceMuted bool
Whether the current device is muted.
finalinherited
currentDeviceVolume double
The current device volume level.
finalinherited
device GoogleCastDevice?
The device associated with this session.
finalinherited
deviceStatusText String
The device status text.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionID String?
The unique session ID.
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

Static Methods

fromMap(Map<String, dynamic>? json) IOSGoogleCastSessions?
Creates an IOSGoogleCastSessions instance from a Map (e.g., JSON).