// Version: 1.1.0 | Created: 2026-04-01
// IncomingCall — immutable model representing a received m.call.invite.

import 'package:freezed_annotation/freezed_annotation.dart';

part 'incoming_call.freezed.dart';

@freezed
abstract class IncomingCall with _$IncomingCall {
  const factory IncomingCall({
    required String callId,
    required String roomId,
    required String callerId,
    required String callerDisplayName,
    String? callerAvatarUrl,
    @Default(false) bool isVideo,
  }) = _IncomingCall;
}
