Skip to content

High performance self-hosted photo and video management solution.

491 B
Raw Blame
import 'package:freezed_annotation/freezed_annotation.dart';

part 'cast_manager_state.freezed.dart';

enum CastDestinationType { googleCast }

enum CastState { idle, playing, paused, buffering }

@freezed
abstract class CastManagerState with _$CastManagerState {
  const factory CastManagerState({
    required bool isCasting,
    required String receiverName,
    required CastState castState,
    required Duration currentTime,
    required Duration duration,
  }) = _CastManagerState;
}