toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buildingId != null) 'buildingId': buildingId!,
      if (deskId != null) 'deskId': deskId!,
      if (floorId != null) 'floorId': floorId!,
      if (floorSectionId != null) 'floorSectionId': floorSectionId!,
      if (label != null) 'label': label!,
    };