Beacon constructor
Beacon({
- required String id,
- required String name,
- required Point position,
- BeaconsConfiguration configuration = const BeaconsConfiguration(),
Implementation
Beacon(
{required this.id,
required this.name,
required this.position,
this.configuration = const BeaconsConfiguration()})
: assert(id.isNotEmpty, "Beacon id cannot be empty."),
assert(name.isNotEmpty, "Beacon name cannot be empty.");