toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (buildingId != null) 'buildingId': buildingId!,
if (current != null) 'current': current!,
if (deskCode != null) 'deskCode': deskCode!,
if (floor != null) 'floor': floor!,
if (floorSection != null) 'floorSection': floorSection!,
if (metadata != null) 'metadata': metadata!,
if (type != null) 'type': type!,
if (value != null) 'value': value!,
};