core.Map<core.String, core.dynamic> toJson() => { if (inventorySourceId != null) 'inventorySourceId': inventorySourceId!, };