IAPOI.fromMap constructor
Implementation
factory IAPOI.fromMap(Map<String, dynamic> map) {
return IAPOI(
id: map['id'] as String,
name: map['name'] as String,
floor: map['floor'] as int,
coordinate:
IACoordinate.fromMap(map['coordinate'] as Map<String, dynamic>),
payload: map['payload'] as String,
);
}