toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (address != null) 'address': address!,
      if (buildingId != null) 'buildingId': buildingId!,
      if (buildingName != null) 'buildingName': buildingName!,
      if (coordinates != null) 'coordinates': coordinates!,
      if (description != null) 'description': description!,
      if (etags != null) 'etags': etags!,
      if (floorNames != null) 'floorNames': floorNames!,
      if (kind != null) 'kind': kind!,
    };