import 'package:google_maps_cluster_manager/google_maps_cluster_manager.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';

class ClusterModel with ClusterItem {
  final String name;
  final bool isClosed;
  final LatLng latLng;

  ClusterModel({
    required this.name,
    required this.latLng,
    this.isClosed = false,
  });

  @override
  String toString() {
    return 'Place $name (closed : $isClosed)';
  }

  @override
  LatLng get location => latLng;
}
