GoogleCastSession constructor

GoogleCastSession({
  1. required GoogleCastDevice? device,
  2. required String? sessionID,
  3. required GoogleCastConnectState connectionState,
  4. required bool currentDeviceMuted,
  5. required double currentDeviceVolume,
  6. required String deviceStatusText,
})

Creates a new GoogleCastSession.

Implementation

GoogleCastSession({
  required this.device,
  required this.sessionID,
  required this.connectionState,
  required this.currentDeviceMuted,
  required this.currentDeviceVolume,
  required this.deviceStatusText,
});