BMFIndoorStepNode.fromMap constructor
- Map map
map => BMFIndoorStepNode
Implementation
BMFIndoorStepNode.fromMap(Map map)
: assert(map != null,
'Construct a BMFIndoorStepNode,The parameter map cannot be null !') {
coordinate = map['coordinate'] == null
? null
: BMFCoordinate.fromMap(map['coordinate']);
type = BMFIndoorStepNodeType.values[map['type'] as int];
desc = map['desc'];
}