toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buildingId != null) 'buildingId': buildingId!,
      if (capacity != null) 'capacity': capacity!,
      if (etags != null) 'etags': etags!,
      if (featureInstances != null) 'featureInstances': featureInstances!,
      if (floorName != null) 'floorName': floorName!,
      if (floorSection != null) 'floorSection': floorSection!,
      if (generatedResourceName != null)
        'generatedResourceName': generatedResourceName!,
      if (kind != null) 'kind': kind!,
      if (resourceCategory != null) 'resourceCategory': resourceCategory!,
      if (resourceDescription != null)
        'resourceDescription': resourceDescription!,
      if (resourceEmail != null) 'resourceEmail': resourceEmail!,
      if (resourceId != null) 'resourceId': resourceId!,
      if (resourceName != null) 'resourceName': resourceName!,
      if (resourceType != null) 'resourceType': resourceType!,
      if (userVisibleDescription != null)
        'userVisibleDescription': userVisibleDescription!,
    };