import '../../constants.dart';

class LasertagDevice {
  final String id;
  final String name;
  final int type;
  final bool isConnected;

  LasertagDevice({
    required this.id,
    required this.name,
    required this.type,
    this.isConnected = false,
  });

  // Hilfsmethode: Ist es ein Leader?
  bool get isLeader => type == LasertagUUIDs.typeLeader;
}