MapItem constructor

MapItem({
  1. required String id,
  2. required GameMap map,
  3. Map<String, dynamic>? properties,
})

Implementation

MapItem({
  required this.id,
  required this.map,
  Map<String, dynamic>? properties,
}) : properties = properties ?? {};