selectFloor method
Select a floor of the current building by its Floor.identifier.
NOTE: introducing an invalid identifier may result in unexpected behaviours.
Implementation
void selectFloor(String identifier, {SelectCartographyOptions? options}) async {
int floorId = int.tryParse(identifier) ?? 0;
final message = {
"identifier": floorId,
if (options != null) "options": options.toMap(),
};
_sendMessage(WV_MESSAGE_CARTOGRAPHY_SELECT_FLOOR, message);
}