InnerFloor
Represents a floor within a multi-floor building.
Constructors
InnerFloor.new
InnerFloor.new(String key, int index, int level, String title, bool isDefault)Creates an InnerFloor with the given properties. const
InnerFloor.fromJson
InnerFloor.fromJson(Map<String, dynamic> json, String defaultKey)factory
Properties
| Property | Type | Description |
|---|---|---|
index | int | Ordinal index of the floor (used for ordering). (final) |
isDefault | bool | Whether this is the default floor shown when the building loads. (final) |
key | String | Unique key identifying this floor. (final) |
level | int | Physical level number (e.g. 0 for ground, 1 for first floor). (final) |
name | String | Alias for title. (no setter) |
title | String | Display name of the floor. (final) |
Methods
toJson
toJson() → Map<String, dynamic>Last updated on