toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (availableInventoryItemIds != null)
        'availableInventoryItemIds': availableInventoryItemIds!,
      if (createTime != null) 'createTime': createTime!,
      if (details != null) 'details': details!,
      if (installedInventoryItemIds != null)
        'installedInventoryItemIds': installedInventoryItemIds!,
      if (items != null) 'items': items!,
      if (updateTime != null) 'updateTime': updateTime!,
    };